aboutsummaryrefslogtreecommitdiffstats
path: root/devel/popt/Makefile
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>1999-12-30 20:31:24 +0800
committerjedgar <jedgar@FreeBSD.org>1999-12-30 20:31:24 +0800
commit360ffa738dbec0aeec6eec0fd4ac7e8316a3b062 (patch)
treefb95e730265e297e2b1439705532cb57de811820 /devel/popt/Makefile
parent8ebb6b90c62198682cb1e1b8497e5a0010ec7a9c (diff)
downloadfreebsd-ports-gnome-360ffa738dbec0aeec6eec0fd4ac7e8316a3b062.tar.gz
freebsd-ports-gnome-360ffa738dbec0aeec6eec0fd4ac7e8316a3b062.tar.zst
freebsd-ports-gnome-360ffa738dbec0aeec6eec0fd4ac7e8316a3b062.zip
popt is an enhanced getopt(3)-style command line option parsing library.
PR: 15759 Submitted by: Yuan-Chen Cheng <ycheng@ml.tw.freebsd.org>
Diffstat (limited to 'devel/popt/Makefile')
-rw-r--r--devel/popt/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
new file mode 100644
index 000000000000..d69bee600f09
--- /dev/null
+++ b/devel/popt/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: popt
+# Version required: 1.4
+# Date Created: 29 Dec 1999
+# Whom: Yuan-Chen Cheng <ycheng@sinica.edu.tw>
+#
+# $FreeBSD$
+#
+
+DISTNAME= popt-1.4
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/current/SRPMS/SRPMS/ \
+ ftp://ftp.cdrom.com/pub/linux/redhat/current/SRPMS/SRPMS/
+EXTRACT_SUFX= -1.src.rpm
+
+MAINTAINER= ycheng@sinica.edu.tw
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/rpm2cpio:${PORTSDIR}/misc/rpm
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+MAN3= popt.3
+MANCOMPRESSED= no
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @${LOCALBASE}/bin/rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i)
+ @tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
+
+.include <bsd.port.mk>