summaryrefslogtreecommitdiff
path: root/misc/epm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/epm/Makefile')
-rw-r--r--misc/epm/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/misc/epm/Makefile b/misc/epm/Makefile
new file mode 100644
index 00000000000..5d0aa3c5799
--- /dev/null
+++ b/misc/epm/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/08 21:50:48 cheusov Exp $
+#
+
+VERSION= 4.2
+DISTNAME= epm-${VERSION}-source
+PKGNAME= epm-${VERSION}
+CATEGORIES= misc
+MASTER_SITES= http://ftp.easysw.com/pub/epm/${VERSION}/ \
+ http://ftp2.easysw.com/pub/epm/${VERSION}/ \
+ http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/epm/${VERSION}/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= vle@gmx.net
+HOMEPAGE= http://epmhome.org/
+COMMENT= ESP generates software packages from a list of files
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= autoconf #gzip:run tar:run
+
+#TEST_TARGET= test
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+DOCDIR= ${PREFIX}/share/doc/epm
+
+CONFIGURE_ARGS+= --disable-gui
+CONFIGURE_ARGS+= --with-docdir=${DOCDIR}
+CONFIGURE_ENV+= STRIP=${TOOLS_PATH.strip}
+
+pre-configure:
+ set -e; cd ${WRKSRC}; autoconf;
+ ${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/
+ ${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/
+ ${CP} ${.CURDIR}/files/install-sh ${WRKSRC}/
+
+.include "../../mk/bsd.pkg.mk"