aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2019-09-16 04:10:26 +0800
committerak <ak@FreeBSD.org>2019-09-16 04:10:26 +0800
commit5a729bb3105499c5148007e36f6e86aa78642f82 (patch)
tree63caa7c9c4a46b81adf673e76a8c4d1af7cfce73 /archivers
parente6801dd24d590bb338717001041fd82e732cb728 (diff)
downloadfreebsd-ports-gnome-5a729bb3105499c5148007e36f6e86aa78642f82.tar.gz
freebsd-ports-gnome-5a729bb3105499c5148007e36f6e86aa78642f82.tar.zst
freebsd-ports-gnome-5a729bb3105499c5148007e36f6e86aa78642f82.zip
- Unbreak
- Install manual page - Remove dead homepage from WWW and manual page - Clarify license - Take maintainership
Diffstat (limited to 'archivers')
-rw-r--r--archivers/lcab/Makefile24
-rw-r--r--archivers/lcab/distinfo5
-rw-r--r--archivers/lcab/pkg-descr2
3 files changed, 18 insertions, 13 deletions
diff --git a/archivers/lcab/Makefile b/archivers/lcab/Makefile
index 1bdf1e752cc4..a1bc16422025 100644
--- a/archivers/lcab/Makefile
+++ b/archivers/lcab/Makefile
@@ -2,23 +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
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
+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>
diff --git a/archivers/lcab/distinfo b/archivers/lcab/distinfo
index a09c9a42962a..5a892d804414 100644
--- a/archivers/lcab/distinfo
+++ b/archivers/lcab/distinfo
@@ -1,2 +1,3 @@
-SHA256 (lcab-1.0b12.tar.gz) = 065f2c1793b65f28471c0f71b7cf120a7064f28d1c44b07cabf49ec0e97f1fc8
-SIZE (lcab-1.0b12.tar.gz) = 74907
+TIMESTAMP = 1568577365
+SHA256 (lcab_1.0b12.orig.tar.gz) = 065f2c1793b65f28471c0f71b7cf120a7064f28d1c44b07cabf49ec0e97f1fc8
+SIZE (lcab_1.0b12.orig.tar.gz) = 74907
diff --git a/archivers/lcab/pkg-descr b/archivers/lcab/pkg-descr
index bf18c4fc369b..c94db8d7d4bc 100644
--- a/archivers/lcab/pkg-descr
+++ b/archivers/lcab/pkg-descr
@@ -1,4 +1,2 @@
LCAB is a small program that creates a Microsoft Cabinet (.CAB) file from a
set of input files.
-
-WWW: http://ohnopub.net/~ohnobinki/lcab/