mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
3b6b744bf4
- Checked on Redports.org[1] [1] http://redports.org/buildarchive/20120606014524-1994/ PR: ports/168732 Submitted by: Masaki TAGAWA <masaki@club.kyutech.ac.jp> (maintainer)
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# New ports collection makefile for: nam
|
|
# Date created: 26 April 1999
|
|
# Whom: obonilla
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nam
|
|
PORTVERSION= 1.15
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/ns${PORTNAME}/${PORTNAME}-1/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
|
|
|
MAINTAINER= masaki@club.kyutech.ac.jp
|
|
COMMENT= Animation tool for network simulation traces
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl
|
|
LIB_DEPENDS= otcl.1:${PORTSDIR}/lang/otcl
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_XORG= xmu
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} --x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include
|
|
USE_GMAKE= yes
|
|
USE_TK= 85+
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
MAN1= nam.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
|
|
${WRKSRC}/configure
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nam ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/nam.1 ${MANPREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ex/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|