diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-19 11:26:15 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-19 11:26:15 +0000 |
commit | 8ca72281dc73381549e862067a3390757fa411ed (patch) | |
tree | 747f0eeaf491b468ae4c590534c0de359ad9ca2c /news/leafnode | |
parent | b53fd2df7b4d6c390b7f0247ed9fd619f2bd9287 (diff) | |
download | ports-8ca72281dc73381549e862067a3390757fa411ed.tar.gz ports-8ca72281dc73381549e862067a3390757fa411ed.zip |
Notes
Diffstat (limited to 'news/leafnode')
-rw-r--r-- | news/leafnode/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile index f6c9c53baf08..3407090bf9b5 100644 --- a/news/leafnode/Makefile +++ b/news/leafnode/Makefile @@ -7,6 +7,7 @@ PORTNAME= leafnode PORTVERSION= 1.9.52 +PORTREVISION= 1 CATEGORIES= news MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED:S/$/:sourceforge/} \ http://osdn.dl.sourceforge.net/sourceforge/${PORTNAME}/:sourceforge \ @@ -23,16 +24,20 @@ COMMENT= NNTP package for offline news caching and reading LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre -.if exists(/var/spool/news) && !defined(PACKAGE_BUILDING) +USE_BZIP2= yes +GNU_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +.if exists(/var/spool/news/leaf.node) && !defined(PACKAGE_BUILDING) LEAFNODE_SPOOLDIR?=/var/spool/news +.elif exists(${LOCALBASE}/var/spool/leafnode/leaf.node) && !defined(PACKAGE_BUILDING) +LEAFNODE_SPOOLDIR?=${LOCALBASE}/var/spool/leafnode .endif -LEAFNODE_SPOOLDIR?=${PREFIX}/var/spool/leafnode +LEAFNODE_SPOOLDIR?=/var/spool/leafnode PLIST_SUB= SPOOLDIR=${LEAFNODE_SPOOLDIR} -USE_BZIP2= yes -GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc/leafnode \ - --with-lockfile=${LEAFNODE_SPOOLDIR}/leaf.node/lock.file \ --with-spooldir=${LEAFNODE_SPOOLDIR} --with-ipv6 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAKE_ARGS= @@ -75,4 +80,4 @@ post-install: ${SH} pkg-install ${PORTNAME} POST-INSTALL ${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |