mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: NeTraMet
|
|
# Date created: 24-Feb-2001
|
|
# Whom: Jimmy Olgeni <olgeni@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= NeTraMet
|
|
PORTVERSION= 4.4
|
|
PORTREVISION= 3
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= ftp://ftp.auckland.ac.nz/pub/iawg/NeTraMet/ \
|
|
http://www2.auckland.ac.nz/net/Accounting/
|
|
DISTFILES+= NeTraMet${PORTVERSION:S/.//}${EXTRACT_SUFX} \
|
|
${NETRAMET_DOCS}
|
|
DIST_SUBDIR= netramet
|
|
EXTRACT_ONLY= NeTraMet${PORTVERSION:S/.//}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Implementation of the Internet Accounting Architecture
|
|
|
|
NETRAMET_DOCS= usguide.pdf srlguide.pdf ntmref.pdf nm_rc.pdf \
|
|
nifty.pdf fdutil.pdf
|
|
|
|
WRKSRC= ${WRKDIR}/NeTraMet${PORTVERSION:S/.//}
|
|
|
|
USE_REINPLACE= yes
|
|
USE_AUTOCONF_VER= 213
|
|
USE_GMAKE= yes
|
|
|
|
.if defined(WITH_MOTIF)
|
|
USE_MOTIF= yes
|
|
CONFIGURE_ENV+= MOTIF_LIB="${MOTIFLIB}"
|
|
PLIST_SUB= MOTIF=""
|
|
.else
|
|
PLIST_SUB= MOTIF="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for FILE in ${NETRAMET_DOCS}
|
|
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|