aboutsummaryrefslogtreecommitdiff
path: root/lang/afnix
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2007-04-21 10:07:16 +0000
committerJohan van Selst <johans@FreeBSD.org>2007-04-21 10:07:16 +0000
commit02cbc2fac176f16c83cab72fd1a9909b2d34212e (patch)
tree30d188a163f39eeac5c9ea2896e49abe29f90030 /lang/afnix
parentff15a3aab3c900bcffe8c245b4dd9a1ada99611e (diff)
downloadports-02cbc2fac176f16c83cab72fd1a9909b2d34212e.tar.gz
ports-02cbc2fac176f16c83cab72fd1a9909b2d34212e.zip
Notes
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