summaryrefslogtreecommitdiffstats
path: root/net/silc-client/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-11-09 22:12:14 +0000
committerlioux <lioux@FreeBSD.org>2001-11-09 22:12:14 +0000
commitbf9782267439497f646412cd6ce9a0aa9fc2b5d7 (patch)
tree085dccafc05416aa46078db32870af5262527418 /net/silc-client/Makefile
parenta48c0dbb9fc692fc60f562626bdbe6c02d600f90 (diff)
downloadFreeBSD-ports-bf9782267439497f646412cd6ce9a0aa9fc2b5d7.zip
FreeBSD-ports-bf9782267439497f646412cd6ce9a0aa9fc2b5d7.tar.gz
o add more MASTER_SITES
o add PKG{,DE}INSTALL scripts to handle: - empty directories - configuration files o do not create unnecessary directories
Diffstat (limited to 'net/silc-client/Makefile')
-rw-r--r--net/silc-client/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/net/silc-client/Makefile b/net/silc-client/Makefile
index 3b408e7..37e798e 100644
--- a/net/silc-client/Makefile
+++ b/net/silc-client/Makefile
@@ -9,7 +9,17 @@ PORTNAME= silc
PORTVERSION= 0.6.4
CATEGORIES= net security
MASTER_SITES= http://www.silcnet.org/download/ \
- ftp://ftp.silcnet.org/pub/silc/
+ ftp://ftp.silcnet.org/pub/silc/ \
+ http://ftp.silcnet.org/ \
+ http://munitions.vipul.net/software/mirrors/silc/ \
+ ftp://ftp.wiretapped.net/pub/security/network-security/silc/ \
+ http://www.au.silcnet.org/download/ \
+ ftp://ftp.au.silcnet.org/pub/silcnet/ \
+ http://www.planetmirror.com/pub/silcnet/ \
+ http://the.wiretapped.net/security/network-security/silc/ \
+ ftp://ftp.wiretapped.net/pub/security/network-security/silc/ \
+ http://www.no.silcnet.org/download/ \
+ ftp://ftp.no.silcnet.org/pub/silc/
PKGNAMESUFFIX= -client
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
@@ -23,6 +33,7 @@ CONFIGURE_ARGS= --with-docdir=share/doc/${PORTNAME} \
--with-helpdir=share/${PORTNAME}/help \
--with-simdir=libexec/${PORTNAME}/modules
PLIST_SUB= INSTALL_DIR="${INSTALL_DIR}"
+PKGDEINSTALL= ${PKGINSTALL}
INSTALL_DIR?= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
@@ -58,6 +69,10 @@ post-patch:
@${PERL} -pi -e 's/-O2//' ${WRKSRC}/${CONFIGURE_SCRIPT}
.endif
+post-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
+ ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
OpenPOWER on IntegriCloud