aboutsummaryrefslogtreecommitdiff
path: root/www/netrik
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2003-02-14 11:55:04 +0000
committerMark Pulford <markp@FreeBSD.org>2003-02-14 11:55:04 +0000
commit0ccde079329b33ccc1856355a92e95718b4baeb8 (patch)
treeb37f6f4bf8bfe16e2e7f573ea17cd46b6a777118 /www/netrik
parent97fa4092499f874cd986f4b59e4182e4a1e4ddd3 (diff)
downloadports-0ccde079329b33ccc1856355a92e95718b4baeb8.tar.gz
ports-0ccde079329b33ccc1856355a92e95718b4baeb8.zip
Update to 1.2.1.
PR: 47488 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=75503
Diffstat (limited to 'www/netrik')
-rw-r--r--www/netrik/Makefile27
-rw-r--r--www/netrik/distinfo2
-rw-r--r--www/netrik/manpages.mk2
3 files changed, 13 insertions, 18 deletions
diff --git a/www/netrik/Makefile b/www/netrik/Makefile
index 4ebe469a014c..90eba10d2282 100644
--- a/www/netrik/Makefile
+++ b/www/netrik/Makefile
@@ -8,28 +8,25 @@
#
PORTNAME= netrik
-PORTVERSION= 1.2.0
-PORTREVISION= 0
-PORTEPOCH= 0
+PORTVERSION= 1.2.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-
-CPPFLAGS= -I${LOCALBASE}/include
-LDFLAGS= -Wl,-rpath,${LOCALBASE}/lib
-LIBS= -L${LOCALBASE}/lib -lgnugetopt
-CONFIGURE_ENV+= CPPFLAGS="${CPPLAGS}" LIBS="${LIBS}" #LDFLAGS="${LDFLAGS}"
-
USE_GMAKE= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPLAGS}" LDFLAGS="${LDFLAGS}"
-.include "${.CURDIR}/manpages.mk"
+MAN1= netrik.1
+MAN5= netrikrc.5
-.include <bsd.port.pre.mk>
-.include <bsd.port.post.mk>
+.if !exists(/usr/include/getopt.h)
+LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt
+.endif
-#EOF
+.include <bsd.port.mk>
diff --git a/www/netrik/distinfo b/www/netrik/distinfo
index bd798990e6dc..e2353ba628a9 100644
--- a/www/netrik/distinfo
+++ b/www/netrik/distinfo
@@ -1 +1 @@
-MD5 (netrik-1.2.0.tar.gz) = 2fab1684a45934495a873d7389ce237f
+MD5 (netrik-1.2.1.tar.gz) = 9bb324ea238718aaafe0789e74aa944a
diff --git a/www/netrik/manpages.mk b/www/netrik/manpages.mk
deleted file mode 100644
index f5cc4a0ad6df..000000000000
--- a/www/netrik/manpages.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-MAN1+= netrik.1
-MAN5+= netrikrc.5