1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/dmake/Makefile
Masafumi Max NAKANE 168ad60604 Upgrade, 4.0 -> 4.1.
As I do the upgrade, I made this port truely respect the setting of PREFIX,
ie, now the executable looks for the config files in ${PREFIX}/lib/dmake.
Also, instead of patching the makefile in the source distribution to
add the install: target, define it in the port Makefile.
And, move the scripts/post-patch into the port Makefile.
1997-09-07 20:23:13 +00:00

37 lines
962 B
Makefile

# New ports collection makefile for: dmake
# Version required: 4.1
# Date created: 31 July 1995
# Whom: nils@guru.ims.uni-stuttgart.de
#
# $Id: Makefile,v 1.3 1997/08/11 18:01:59 fenner Exp $
#
DISTNAME= dmake-v4.1-src-export.all-unknown-all
PKGNAME= dmake-4.1
CATEGORIES= devel
MASTER_SITES= ftp://plg.uwaterloo.ca/pub/dmake/
MAINTAINER= ports@FreeBSD.ORG
WRKSRC= ${WRKDIR}/dmake
USE_GMAKE= yes
MAKEFILE= makefile
ALL_TARGET= bsd43
MAN1= dmake.1
do-configure:
.for f in limits.h string.h dirent.h
@${RM} -f ${WRKSRC}/unix/bsd43/$f
.endfor
@${CP} ${WRKSRC}/unix/startup.h ${WRKSRC}/unix/startup.h.orig
@${SED} s:/usr/local:${PREFIX}: ${WRKSRC}/unix/startup.h.orig \
> ${WRKSRC}/unix/startup.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dmake ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/dmake.tf ${PREFIX}/man/man1/dmake.1
${MKDIR} ${PREFIX}/lib/dmake/startup
${CP} -R ${WRKSRC}/startup/* ${PREFIX}/lib/dmake/startup
.include <bsd.port.mk>