aboutsummaryrefslogtreecommitdiffstats
path: root/www/netrik
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2003-02-14 19:55:04 +0800
committermarkp <markp@FreeBSD.org>2003-02-14 19:55:04 +0800
commitd6d2121e0bc8e131319da6f1708d97501ea6ce2f (patch)
treeac44cb3350809affb4abb228178567f1e4eaced0 /www/netrik
parentdc269a39d2f5cdb345b08f77eaae67707cbff763 (diff)
downloadfreebsd-ports-gnome-d6d2121e0bc8e131319da6f1708d97501ea6ce2f.tar.gz
freebsd-ports-gnome-d6d2121e0bc8e131319da6f1708d97501ea6ce2f.tar.zst
freebsd-ports-gnome-d6d2121e0bc8e131319da6f1708d97501ea6ce2f.zip
Update to 1.2.1.
PR: 47488 Submitted by: KATO Tsuguru <tkato@prontomail.com>
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