aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2014-01-18 08:03:56 +0800
committermandree <mandree@FreeBSD.org>2014-01-18 08:03:56 +0800
commita7934df7af955922b21f5df91c7c39e63f81eda9 (patch)
tree2a91810f34c19a78609ac6e091e7ccf855bba583
parent0218023f6c5b55a087c0e57796b15db79fa160d2 (diff)
downloadfreebsd-ports-gnome-a7934df7af955922b21f5df91c7c39e63f81eda9.tar.gz
freebsd-ports-gnome-a7934df7af955922b21f5df91c7c39e63f81eda9.tar.zst
freebsd-ports-gnome-a7934df7af955922b21f5df91c7c39e63f81eda9.zip
Provide our own distfile mirror that is fetchable through http:// and ftp://.
Move pkg-plist into Makefile's PLIST_FILES.
-rw-r--r--archivers/minizip/Makefile8
-rw-r--r--archivers/minizip/pkg-plist4
2 files changed, 5 insertions, 7 deletions
diff --git a/archivers/minizip/Makefile b/archivers/minizip/Makefile
index 588eceaa049f..8436bce8f4a7 100644
--- a/archivers/minizip/Makefile
+++ b/archivers/minizip/Makefile
@@ -4,7 +4,8 @@
PORTNAME= minizip
PORTVERSION= 1.2.8
CATEGORIES= archivers
-MASTER_SITES= https://github.com/madler/zlib/archive/
+MASTER_SITES= https://github.com/madler/zlib/archive/ \
+ LOCAL/mandree/${PORTNAME}
DISTNAME= v${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
@@ -13,10 +14,11 @@ COMMENT= Minizip and miniunz programs from Zlib contributions
LICENSE= ZLIB
-WRKSRC= ${WRKDIR}/zlib-${PORTVERSION}/contrib/minizip
+PLIST_FILES= bin/minizip bin/miniunz \
+ man/man1/miniunzip.1.gz man/man1/minizip.1.gz
MAKE_ARGS= CFLAGS="${CPPFLAGS} ${CFLAGS} -include sys/stat.h -include stdint.h"
-
USE_ZIP= yes
+WRKSRC= ${WRKDIR}/zlib-${PORTVERSION}/contrib/minizip
.include <bsd.port.pre.mk>
diff --git a/archivers/minizip/pkg-plist b/archivers/minizip/pkg-plist
deleted file mode 100644
index 98b522924fcd..000000000000
--- a/archivers/minizip/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/minizip
-bin/miniunz
-man/man1/miniunzip.1.gz
-man/man1/minizip.1.gz