From 96bc8048c3217bb231f2f30eadeb628134b557f5 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sat, 14 Nov 1998 09:43:39 +0000 Subject: Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk. --- audio/mpg123/Makefile | 6 ++++-- audio/x11amp/Makefile | 14 ++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'audio') diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile index 01cf7b24fe71..cd36ce45dd08 100644 --- a/audio/mpg123/Makefile +++ b/audio/mpg123/Makefile @@ -3,7 +3,7 @@ # Date created: 25 June 1997 # Whom: Carey Jones # -# $Id: Makefile,v 1.7 1998/09/28 01:50:59 steve Exp $ +# $Id: Makefile,v 1.8 1998/10/03 12:09:54 jkoshy Exp $ # DISTNAME= mpg123-0.59o @@ -15,10 +15,12 @@ MAINTAINER= jkoshy@freebsd.org MAN1= mpg123.1 -.include +.include .if ${PORTOBJFORMAT} == "elf" ALL_TARGET= freebsd-elf .else ALL_TARGET= freebsd .endif + +.include diff --git a/audio/x11amp/Makefile b/audio/x11amp/Makefile index 591fe77fea45..aa97a31f084f 100644 --- a/audio/x11amp/Makefile +++ b/audio/x11amp/Makefile @@ -3,7 +3,7 @@ # Date created: 13 Jul 1998 # Whom: Donald Burr # -# $Id: Makefile,v 1.3 1998/08/05 09:30:44 asami Exp $ +# $Id: Makefile,v 1.4 1998/09/28 01:55:08 steve Exp $ # DISTNAME= x11amp-0.7-FreeBSD @@ -20,14 +20,16 @@ WRKSRC= ${WRKDIR}/x11amp USE_X_PREFIX= YES NO_BUILD= YES +.include + +.if ${PORTOBJFORMAT} == "elf" +STRIP= +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/x11amp ${PREFIX}/bin/x11amp post-install: @${CAT} ${PKGDIR}/MESSAGE -.include - -.if ${PORTOBJFORMAT} == "elf" -STRIP= -.endif +.include -- cgit v1.2.3