diff options
author | fredb <fredb> | 2000-09-09 05:28:44 +0000 |
---|---|---|
committer | fredb <fredb> | 2000-09-09 05:28:44 +0000 |
commit | 0ee50b22d798db5fcc1b9bbc0f46434f93c27074 (patch) | |
tree | 472a9178b8c825cbb4379a48bb121cf1df661a95 /misc | |
parent | 6dad768d2fc1193c4272755870445bf176a8c2aa (diff) | |
download | pkgsrc-0ee50b22d798db5fcc1b9bbc0f46434f93c27074.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" |