From 0ee50b22d798db5fcc1b9bbc0f46434f93c27074 Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 9 Sep 2000 05:28:44 +0000 Subject: 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. --- misc/dt/Makefile | 23 +++++++++++------------ 1 file 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" -- cgit v1.2.3