mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
88bfe4bd43
When appropriate: - Try to use DISTVERSION{SUF,PRE}FIX - Replace PORTNAME-PORTVERSION by DISTNAME - Convert MASTER_SITES to use macros - Other light cleanup With hat: portmgr Sponsored by: Absolight
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# Created by: 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/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
DISTFILES= ${DISTNAME}.tgz ${DISTNAME:S/src/doc_html/}.tgz
|
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
|
COMMENT= 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}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
WRKSRC_SUBDIR= src
|
|
SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)\.[0-9]*/\1\2/}
|
|
|
|
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:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${CP} -R ${WRKSRC}/../../${PORTNAME}-${PORTVERSION}-doc_html/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|