aboutsummaryrefslogtreecommitdiff
path: root/chinese/pcmanx/Makefile
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2008-08-12 17:25:56 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2008-08-12 17:25:56 +0000
commitb42587bf02f95cc8be8ef06e6af06fc5fdd69a0d (patch)
treed9ab8fea024938e3a3d1a68dd6822a26d8582b50 /chinese/pcmanx/Makefile
parent40b08a8d1ce5553aa9d7f442cfd085c0eeaefb0c (diff)
downloadports-b42587bf02f95cc8be8ef06e6af06fc5fdd69a0d.tar.gz
ports-b42587bf02f95cc8be8ef06e6af06fc5fdd69a0d.zip
- Tarball has been rerolled.
- Add WGET knob for support downloading articles.
Notes
Notes: svn path=/head/; revision=218470
Diffstat (limited to 'chinese/pcmanx/Makefile')
-rw-r--r--chinese/pcmanx/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/chinese/pcmanx/Makefile b/chinese/pcmanx/Makefile
index 62b05eaea1ca..8c347481c044 100644
--- a/chinese/pcmanx/Makefile
+++ b/chinese/pcmanx/Makefile
@@ -22,6 +22,13 @@ USE_ICONV= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+OPTIONS= WGET "enable wget support for download articles" on
+
+.if !defined(WITHOUT_WGET)
+RUN_DEPENDS+= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
+CONFIGURE_ARGS+=--enable-wget
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""