blob: 0b7b37bf7030f304295c3728c1fb76d94b6b2b1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= wired
PORTVERSION= 1.3.4
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://mirror.mcx2.org/
MAINTAINER= dhn@FreeBSD.org
COMMENT= Wired server
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir="${LOCALBASE}/lib" --includedir="${LOCALBASE}/include"
USES= gmake
USE_RC_SUBR= wired
MAN1= wiredctl.1
MAN5= wired.conf.5
MAN8= wired.8
NO_STAGE= yes
pre-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
.for i in etc/wired.conf etc/resolv.conf banlist groups news users
@if [ ! -f ${PREFIX}/wired/${i} ]; then \
${CP} -p ${PREFIX}/wired/${i}.sample ${PREFIX}/wired/${i} ; \
fi
.endfor
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
|