forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (22 loc) · 794 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Alexey Dokuchaev <[email protected]>
# $FreeBSD$
PORTNAME= lcab
PORTVERSION= 1.0b12
CATEGORIES= archivers
MASTER_SITES= DEBIAN
DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
MAINTAINER= [email protected]
COMMENT= Microsoft .CABinet file creator
LICENSE= GPLv2+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/lcab man/man1/${PORTNAME}.1.gz
pre-build:
@${REINPLACE_CMD} -e 's|1.0b11|1.0b12|' ${WRKSRC}/mytypes.h
@${REINPLACE_CMD} -e 's|1.0b8|1.0b12|' \
-e '/http:\/\/www.geekshop.be\/rien\/lcab\//d' \
${WRKSRC}/${PORTNAME}.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>