pkgsrc/devel/dmake/Makefile

29 lines
808 B
Makefile

# $NetBSD: Makefile,v 1.2 2001/02/16 14:38:23 wiz Exp $
#
DISTNAME= dmake-v4.1-src-export.all-unknown-all
PKGNAME= dmake-4.1
WRKSRC= ${WRKDIR}/dmake
CATEGORIES= devel
MASTER_SITES= http://dmake.wticorp.com/SourceDistribution/ \
ftp://plg.uwaterloo.ca/pub/dmake/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://dmake.wticorp.com/
COMMENT= portable make supported by many platforms
MAKEFILE= makefile
ALL_TARGET= linux
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:
${INSTALL_PROGRAM} ${WRKSRC}/dmake ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/dmake
${CP} -pR ${WRKSRC}/startup ${PREFIX}/share/dmake
.include "../../mk/bsd.pkg.mk"