2012-10-31 12:16:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2012/10/31 11:16:53 asau Exp $
|
2000-10-15 14:46:21 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= dmake-v4.1-src-export.all-unknown-all
|
|
|
|
PKGNAME= dmake-4.1
|
2003-09-25 20:49:08 +02:00
|
|
|
PKGREVISION= 1
|
2000-10-15 14:46:21 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://dmake.wticorp.com/SourceDistribution/ \
|
|
|
|
ftp://plg.uwaterloo.ca/pub/dmake/
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= rh@NetBSD.org
|
2000-10-15 14:46:21 +02:00
|
|
|
HOMEPAGE= http://dmake.wticorp.com/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Portable make supported by many platforms
|
2000-10-15 14:46:21 +02:00
|
|
|
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= linux
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/dmake
|
2000-10-15 14:46:21 +02:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2000-10-15 14:46:21 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dmake ${DESTDIR}${PREFIX}/bin
|
|
|
|
${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
|
2000-10-15 14:46:21 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|