summaryrefslogtreecommitdiffstats
path: root/news/newsstar
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-10-07 05:45:04 +0000
committerlinimon <linimon@FreeBSD.org>2007-10-07 05:45:04 +0000
commite9b556135b3e4068be9ec53d65e526a353da19e6 (patch)
tree3631800b38966f03de424f6228f938054f94dd22 /news/newsstar
parent6c105d7853336dcccdbcc998e9ac6da17d4439db (diff)
downloadFreeBSD-ports-e9b556135b3e4068be9ec53d65e526a353da19e6.zip
FreeBSD-ports-e9b556135b3e4068be9ec53d65e526a353da19e6.tar.gz
Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend on
perl unconditonally, or conditionally. To be able to conditionalize the inclusion of bsd.perl.mk, they now need to be defined before the inclusion of bsd.port.pre.mk. Hat: portmgr
Diffstat (limited to 'news/newsstar')
-rw-r--r--news/newsstar/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/news/newsstar/Makefile b/news/newsstar/Makefile
index 7b5819b..71c65a2 100644
--- a/news/newsstar/Makefile
+++ b/news/newsstar/Makefile
@@ -16,6 +16,17 @@ COMMENT= Transfer news between a local NNTP server (INN, sn, s-news)
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
+USE_PERL5= yes
+HAS_CONFIGURE= yes
+
+CONFIGURE_ARGS+=--prefix=${PREFIX} --mandir=${PREFIX}/man \
+ --with-conf-dir=${PREFIX}/etc/newsstar \
+ --with-rc-dir=/var/spool/newsstar/lib \
+ --with-incoming-dir=/var/spool/newsstar/incoming
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+=--disable-ssl
.else
@@ -39,17 +50,6 @@ CONFIGURE_ARGS+=--with-sn-spool-dir=/var/spool/news \
CONFIGURE_ARGS+=--with-inn-path=${LOCALBASE}/news/bin
.endif
-CONFIGURE_ARGS+=--prefix=${PREFIX} --mandir=${PREFIX}/man \
- --with-conf-dir=${PREFIX}/etc/newsstar \
- --with-rc-dir=/var/spool/newsstar/lib \
- --with-incoming-dir=/var/spool/newsstar/incoming
-
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
-
-USE_PERL5= yes
-HAS_CONFIGURE= yes
-
MAN1= newsstar.1
DOCS= AUTHORS INSTALL NEWS README TODO docs/QuickStart docs/manual.txt \
docs/index.html docs/ar01s02.html docs/ar01s03.html docs/ar01s04.html \
OpenPOWER on IntegriCloud