2004-08-15 21:39:15 +02:00
|
|
|
# New ports collection makefile for: netwag
|
|
|
|
# Date created: 11.08.2004
|
|
|
|
# Whom: janos.mohacsi@bsd.hu
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= netwag
|
2006-11-12 20:11:05 +01:00
|
|
|
PORTVERSION= 5.35.0
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2004-08-15 21:39:15 +02:00
|
|
|
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 \
|
2004-11-11 12:51:52 +01:00
|
|
|
wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
appres:${PORTSDIR}/x11/appres
|
2004-08-15 21:39:15 +02:00
|
|
|
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}|' \
|
2004-09-01 13:11:05 +02:00
|
|
|
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
2004-08-15 21:39:15 +02:00
|
|
|
${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>
|