aboutsummaryrefslogtreecommitdiffstats
path: root/lang/afnix
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2007-04-21 18:07:16 +0800
committerjohans <johans@FreeBSD.org>2007-04-21 18:07:16 +0800
commit4c84088f5a8cdadcf8723bf1913bd8840c26c930 (patch)
tree08a01f7271d490cfe75ebac4777476bdb37c9f88 /lang/afnix
parentf686e35abfb940497a41358d370a370b158aa40a (diff)
downloadfreebsd-ports-gnome-4c84088f5a8cdadcf8723bf1913bd8840c26c930.tar.gz
freebsd-ports-gnome-4c84088f5a8cdadcf8723bf1913bd8840c26c930.tar.zst
freebsd-ports-gnome-4c84088f5a8cdadcf8723bf1913bd8840c26c930.zip
- Update to 1.5.1
- Remove workaround (now fixed in distribution)
Diffstat (limited to 'lang/afnix')
-rw-r--r--lang/afnix/Makefile18
-rw-r--r--lang/afnix/distinfo6
2 files changed, 11 insertions, 13 deletions
diff --git a/lang/afnix/Makefile b/lang/afnix/Makefile
index 4f8b067a0094..80c6bf2d64f8 100644
--- a/lang/afnix/Makefile
+++ b/lang/afnix/Makefile
@@ -7,12 +7,12 @@
#
PORTNAME= afnix
-PORTVERSION= 1.5.0
+PORTVERSION= 1.5.1
CATEGORIES= lang
MASTER_SITES= http://www.afnix.org/ftp/%SUBDIR%/ \
ftp://ftp.stack.nl/pub/users/johans/afnix/
-MASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION:S,.,-,g}
-DISTNAME= ${PORTNAME}-src-${PORTVERSION:S,.,-,g}
+MASTER_SITE_SUBDIR= ${PORTNAME}-${AFNIX_VERSION}
+DISTNAME= ${PORTNAME}-src-${AFNIX_VERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= johans@stack.nl
@@ -27,6 +27,7 @@ MAKE_ENV= CXX="${CXX}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
PORTDOCS= *
+AFNIX_VERSION= ${PORTVERSION:S,.,-,g}
PLIST_SUB= PORTVER=${PORTVERSION:R}
MAN1= adp::afnix.1 amd::afnix.1 axc::afnix.1 axd::afnix.1 \
@@ -50,16 +51,13 @@ post-patch:
@${REINPLACE_CMD} -e '/uname -r/s/\\\./[.-]/' \
${WRKSRC}/cnf/bin/afnix-guess
+post-build:
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} doc
+
post-install:
.ifdef NOPORTDOCS
-# install all manuals, but no other documentation
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} doc
-. for i in prj/amd/doc prj/adp/doc src/mod/xml src/srv/xpe
- @cd ${WRKSRC}/${i} && ${SETENV} ${MAKE_ENV} ${GMAKE} doc
-. endfor
. for i in ${MAN1} ${MAN3} ${MAN4} ${MAN7}
- ${INSTALL_MAN} \
- ${WRKSRC}/bld/${PORTNAME}-doc-${PORTVERSION:S,.,-,g}/man/$i \
+ ${INSTALL_MAN} ${WRKSRC}/bld/${PORTNAME}-doc-${AFNIX_VERSION}/man/$i \
${MANPREFIX}/man/man${i:E}/
. endfor
.else
diff --git a/lang/afnix/distinfo b/lang/afnix/distinfo
index d4f3470eafad..a541cbfbdb29 100644
--- a/lang/afnix/distinfo
+++ b/lang/afnix/distinfo
@@ -1,3 +1,3 @@
-MD5 (afnix-src-1-5-0.tgz) = bbc14ab8152ae7ec573057fe0c2f4224
-SHA256 (afnix-src-1-5-0.tgz) = 9d265b3f918301b2abf80e2ace8464d4cd487b5a7b44e14fb08d41793a48b837
-SIZE (afnix-src-1-5-0.tgz) = 1525299
+MD5 (afnix-src-1-5-1.tgz) = 458becae87e70c5d851b5ce1f9af9ce5
+SHA256 (afnix-src-1-5-1.tgz) = 4286a906bb594f0d93f1aa91a58e2c71409f80c8c60150411cfc22ec0de16a5a
+SIZE (afnix-src-1-5-1.tgz) = 1525414