mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
9aac569eaa
Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op
38 lines
845 B
Makefile
38 lines
845 B
Makefile
# New ports collection makefile for: wired
|
|
# Date created: 2006-11-23
|
|
# Whom: 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"
|
|
USE_GMAKE= yes
|
|
USE_RC_SUBR= wired
|
|
|
|
MAN1= wiredctl.1
|
|
MAN5= wired.conf.5
|
|
MAN8= wired.8
|
|
|
|
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>
|