diff options
Diffstat (limited to 'devel/dmake/Makefile')
-rw-r--r-- | devel/dmake/Makefile | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/devel/dmake/Makefile b/devel/dmake/Makefile index 0782af8dc80..3f9a8a4f2bc 100644 --- a/devel/dmake/Makefile +++ b/devel/dmake/Makefile @@ -1,33 +1,26 @@ -# $NetBSD: Makefile,v 1.13 2013/12/23 11:57:03 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2013/12/31 18:05:55 wiz Exp $ -DISTNAME= dmake-v4.1-src-export.all-unknown-all -PKGNAME= dmake-4.1 -PKGREVISION= 1 +DISTNAME= dmake-4.12.2 CATEGORIES= devel -MASTER_SITES= http://dmake.wticorp.com/SourceDistribution/ \ - ftp://plg.uwaterloo.ca/pub/dmake/ +MASTER_SITES= http://dmake.apache-extras.org.codespot.com/files/ +EXTRACT_SUFX=.tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://dmake.wticorp.com/ +HOMEPAGE= http://code.google.com/a/apache-extras.org/p/dmake COMMENT= Portable make supported by many platforms +LICENSE= gnu-gpl-v1 -MAKE_FILE= makefile -BUILD_TARGET= linux -WRKSRC= ${WRKDIR}/dmake -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +GNU_CONFIGURE= yes -do-configure: - cd ${WRKSRC} && ${RM} unix/bsd43/dirent.h && \ - ${CP} unix/startup.h unix/startup.h.orig && \ - ${SED} -e "s:/usr/local/lib:${PREFIX}/share:g" \ - <unix/startup.h.orig >unix/startup.h +TEST_TARGET= check -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dmake ${DESTDIR}${PREFIX}/bin +INSTALLATION_DIRS= bin share/dmake ${PKGMANDIR}/man1 + +CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/dmake + +pre-install: ${INSTALL_MAN} ${WRKSRC}/man/dmake.tf \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dmake.1 - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/dmake - ${CP} -pR ${WRKSRC}/startup ${DESTDIR}${PREFIX}/share/dmake .include "../../mk/bsd.pkg.mk" |