summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-11-16 13:31:18 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-11-16 13:31:18 +0000
commit4f9ee55a34b9bb739f273f7d2e91d4b46c01f3fd (patch)
tree60440c424338fe0485ac059623ab243667515df2 /misc
parentDepend on ncurses.5 after the upgrade of devel/ncurses. (diff)
Upgrade to 0.6.1.
Notes
Notes: svn path=/head/; revision=35189
Diffstat (limited to 'misc')
-rw-r--r--misc/pinfo/Makefile20
-rw-r--r--misc/pinfo/distinfo2
-rw-r--r--misc/pinfo/pkg-plist3
3 files changed, 17 insertions, 8 deletions
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile
index e12925412d6b..6a7a7ec05203 100644
--- a/misc/pinfo/Makefile
+++ b/misc/pinfo/Makefile
@@ -6,20 +6,26 @@
#
PORTNAME= pinfo
-PORTVERSION= 0.5.9
+PORTVERSION= 0.6.1
CATEGORIES= misc
MASTER_SITES= http://zeus.polsl.gliwice.pl/~pborys/stable-version/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \
- ncurses.5:${PORTSDIR}/devel/ncurses
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-included-gettext --with-readline \
- --with-ncurses=${PREFIX}
-CONFIGURE_ENV= LIBS="-lgnuregex -L${PREFIX}/lib -lintl"
+CONFIGURE_ARGS= --without-included-gettext --with-readline
+CONFIGURE_ENV= LIBS="-lgnuregex -L${PREFIX}/lib -lintl" \
+ CFLAGS="${CFLAGS} -I${PREFIX}/include"
MAN1= pinfo.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400010
+LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
+CONFIGURE_ARGS+= --with-ncurses=${PREFIX}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/misc/pinfo/distinfo b/misc/pinfo/distinfo
index eb5529f5fcf9..fc8723cf981b 100644
--- a/misc/pinfo/distinfo
+++ b/misc/pinfo/distinfo
@@ -1 +1 @@
-MD5 (pinfo-0.5.9.tar.gz) = 001a3c604a5d6cc306e7d951d30c4c59
+MD5 (pinfo-0.6.1.tar.gz) = 3fc5aead3f5d58f307e95a268575a706
diff --git a/misc/pinfo/pkg-plist b/misc/pinfo/pkg-plist
index 045b048ea8e7..ddfdef75824a 100644
--- a/misc/pinfo/pkg-plist
+++ b/misc/pinfo/pkg-plist
@@ -1,5 +1,8 @@
bin/pinfo
etc/pinforc
+@unexec install-info --delete --info-dir=%D/info %D/info/pinfo.info
+info/pinfo.info
+@exec install-info --info-dir=%D/info %D/info/pinfo.info
share/locale/cs/LC_MESSAGES/pinfo.mo
share/locale/de/LC_MESSAGES/pinfo.mo
share/locale/pl/LC_MESSAGES/pinfo.mo