diff options
author | fredb <fredb@pkgsrc.org> | 2000-09-09 05:28:44 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2000-09-09 05:28:44 +0000 |
commit | b2b6a7aadf6b144d6e2528c2dae60556274423f3 (patch) | |
tree | 472a9178b8c825cbb4379a48bb121cf1df661a95 /misc | |
parent | 0cc0050de812764c983f6156be11bcc722e2627c (diff) | |
download | pkgsrc-b2b6a7aadf6b144d6e2528c2dae60556274423f3.tar.gz |
Minor churn:
- - Don't try to build on powerpc. This is not useful, and it was never
tested anyway.
- - ${IGNORE} doesn't need to be set from within a .BEGIN target.
- - Move lines that don't need to be after .include ../../bsd.prefs.mk
into the main body, same for lines that don't need to be in the header.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dt/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/misc/dt/Makefile b/misc/dt/Makefile index e0affe09b54..20d16e1faaa 100644 --- a/misc/dt/Makefile +++ b/misc/dt/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2000/08/21 21:01:32 hubertf Exp $ +# $NetBSD: Makefile,v 1.8 2000/09/09 05:28:44 fredb Exp $ # DISTNAME= dt-1.1.7 -WRKSRC= ${WRKDIR}/dt CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -10,13 +9,20 @@ MAINTAINER= fb@enteract.com NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL -.BEGIN: -.if (${MACHINE} != "mac68k") && (${MACHINE} != "macppc") -IGNORE= "${PKGNAME} is only useful for ports that have the adb and grf devices" +.if ${MACHINE} != "mac68k" +IGNORE= "${PKGNAME} is only useful for mac68k!" .endif ALL_TARGET= depend all +CPPFLAGS+= -D${DT_LAYOUT}_LAYOUT +MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" + DTDOCSDIR= ${PREFIX}/share/doc/dt +WRKSRC= ${WRKDIR}/dt + +post-install: + ${INSTALL_DATA_DIR} ${DTDOCSDIR} + cd ${WRKSRC}; ${INSTALL_DATA} README dt.html example.dtrc ${DTDOCSDIR} .include "../../mk/bsd.prefs.mk" @@ -31,11 +37,4 @@ DTDOCSDIR= ${PREFIX}/share/doc/dt # DT_LAYOUT?= FI -CPPFLAGS+= -D${DT_LAYOUT}_LAYOUT -MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" - -post-install: - ${INSTALL_DATA_DIR} ${DTDOCSDIR} - (cd ${WRKSRC}; ${INSTALL_DATA} README dt.html example.dtrc ${DTDOCSDIR}) - .include "../../mk/bsd.pkg.mk" |