aboutsummaryrefslogtreecommitdiff
path: root/net/wired/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-04 22:03:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-04 22:03:13 +0000
commit3b45eafeafcea4e0b1120e167f953b5809d51c32 (patch)
treea4fff6ed39ece1bed1dea86018678455752984c8 /net/wired/Makefile
parent9ea22cc9bf90283d27dfb6fcfc5853e6cd0b739c (diff)
downloadports-3b45eafeafcea4e0b1120e167f953b5809d51c32.tar.gz
ports-3b45eafeafcea4e0b1120e167f953b5809d51c32.zip
Notes
Diffstat (limited to 'net/wired/Makefile')
-rw-r--r--net/wired/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/net/wired/Makefile b/net/wired/Makefile
index 7629ec9110da..504c0d9adb6d 100644
--- a/net/wired/Makefile
+++ b/net/wired/Makefile
@@ -7,11 +7,12 @@
PORTNAME= wired
PORTVERSION= 1.3.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.zankasoftware.com/dist/
MAINTAINER= trasz@pin.if.uz.zgora.pl
-COMMENT= Wired Server
+COMMENT= Wired server
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -31,9 +32,22 @@ post-install:
@if [ ! -f ${PREFIX}/wired/etc/resolv.conf ]; then \
${CP} -p ${PREFIX}/wired/etc/resolv.conf.sample ${PREFIX}/wired/etc/resolv.conf ; \
fi
+ @if [ ! -f ${PREFIX}/wired/banlist ]; then \
+ ${CP} -p ${PREFIX}/wired/banlist.sample ${PREFIX}/wired/banlist ; \
+ fi
+ @if [ ! -f ${PREFIX}/wired/groups ]; then \
+ ${CP} -p ${PREFIX}/wired/groups.sample ${PREFIX}/wired/groups ; \
+ fi
+ @if [ ! -f ${PREFIX}/wired/news ]; then \
+ ${CP} -p ${PREFIX}/wired/news.sample ${PREFIX}/wired/news ; \
+ fi
+ @if [ ! -f ${PREFIX}/wired/users ]; then \
+ ${CP} -p ${PREFIX}/wired/users.sample ${PREFIX}/wired/users ; \
+ fi
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
post-deinstall:
+ ${RM} -f ${PREFIX}/wired/etc/certificate.pem.sample
PKG_PREFIX=${PREFIX} ${SH} pkg-deinstall ${PKGNAME} POST-DEINSTALL
.include <bsd.port.mk>