1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/net-mgmt/netwag/Makefile
Eitan Adler c59a3834c4 At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:	portmgr
2012-01-21 17:40:15 +00:00

44 lines
1.3 KiB
Makefile

# New ports collection makefile for: netwag
# Date created: 11.08.2004
# Whom: janos.mohacsi@bsd.hu
#
# $FreeBSD$
#
PORTNAME= netwag
PORTVERSION= 5.38.0
CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://www.laurentconstantin.com/common/netw/${PORTNAME}/download/v5/ \
http://membres.lycos.fr/lauconstantin/common/netw/${PORTNAME}/download/v5/ \
http://laurentconstantin.free.fr/common/netw/${PORTNAME}/download/v5/
DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz ${PORTNAME}-${PORTVERSION}-doc_html.tgz
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= A graphical front end for netwox
BUILD_DEPENDS= netwox:${PORTSDIR}/net-mgmt/netwox \
wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
appres:${PORTSDIR}/x11/appres \
xterm:${PORTSDIR}/x11/xterm
RUN_DEPENDS:= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)\.[0-9]*/\1\2/}
MAN1= ${PORTNAME}.1 ${PORTNAME}${SHORTPORTVERSION}.1
PLIST_SUB+= SHORTPORTVERSION=${SHORTPORTVERSION}
do-configure:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/config.dat
cd ${WRKSRC}; ${SH} ./genemake
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${CP} -R ${WRKSRC}/../../${PORTNAME}-${PORTVERSION}-doc_html/* ${DOCSDIR}
.endif
.include <bsd.port.mk>