aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/lcab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/lcab/Makefile')
-rw-r--r--archivers/lcab/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/archivers/lcab/Makefile b/archivers/lcab/Makefile
index 994605507848..a1bc16422025 100644
--- a/archivers/lcab/Makefile
+++ b/archivers/lcab/Makefile
@@ -2,21 +2,29 @@
# $FreeBSD$
PORTNAME= lcab
-DISTVERSION= 1.0b12
+PORTVERSION= 1.0b12
CATEGORIES= archivers
-MASTER_SITES= ftp://ohnopublishing.net/mirror/
+MASTER_SITES= DEBIAN
+DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ak@FreeBSD.org
COMMENT= Microsoft .CABinet file creator
-LICENSE= GPLv2
+LICENSE= GPLv2+
-BROKEN= unfetchable
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
-PLIST_FILES= bin/lcab
+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}/lcab ${STAGEDIR}/${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>