2006-11-23 23:36:05 +01:00
|
|
|
# New ports collection makefile for: wired
|
|
|
|
# Date created: 2006-11-23
|
|
|
|
# Whom: trasz <trasz@pin.if.uz.zgora.pl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wired
|
2009-09-16 22:31:13 +02:00
|
|
|
PORTVERSION= 1.3.4
|
2012-03-16 16:48:34 +01:00
|
|
|
PORTREVISION= 2
|
2006-11-23 23:36:05 +01:00
|
|
|
CATEGORIES= net
|
2011-01-15 19:23:53 +01:00
|
|
|
MASTER_SITES= http://mirror.mcx2.org/
|
2006-11-23 23:36:05 +01:00
|
|
|
|
2009-03-26 23:54:50 +01:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2006-12-04 23:03:13 +01:00
|
|
|
COMMENT= Wired server
|
2006-11-23 23:36:05 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2009-06-29 00:02:29 +02:00
|
|
|
CONFIGURE_ARGS= --libdir="${LOCALBASE}/lib" --includedir="${LOCALBASE}/include"
|
2006-11-23 23:36:05 +01:00
|
|
|
USE_GMAKE= yes
|
2012-08-06 01:19:36 +02:00
|
|
|
USE_RC_SUBR= wired
|
2006-11-23 23:36:05 +01:00
|
|
|
|
2007-12-16 14:52:35 +01:00
|
|
|
MAN1= wiredctl.1
|
2006-11-23 23:36:05 +01:00
|
|
|
MAN5= wired.conf.5
|
|
|
|
MAN8= wired.8
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
|
|
|
|
|
|
|
post-install:
|
2012-03-16 16:48:34 +01:00
|
|
|
.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} ; \
|
2006-12-04 23:03:13 +01:00
|
|
|
fi
|
2012-03-16 16:48:34 +01:00
|
|
|
.endfor
|
2006-11-23 23:36:05 +01:00
|
|
|
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|