From 9d3561bf89b1568d12332257393fdc472bc6dab3 Mon Sep 17 00:00:00 2001 From: danfe Date: Fri, 27 May 2005 09:24:44 +0000 Subject: - Use DISTVERSION - Use INSTALL_PROGRAM - Shorten install command - Reindent Makefile header - Utilize PLIST_FILES and kill one-line pkg-plist - Add a comment why specific C[XX]FLAGS should be used Encouraged by: krion --- audio/schism/Makefile | 14 ++++++++------ audio/schism/pkg-plist | 1 - 2 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 audio/schism/pkg-plist diff --git a/audio/schism/Makefile b/audio/schism/Makefile index b0b661e98fc7..b304f5a2ca98 100644 --- a/audio/schism/Makefile +++ b/audio/schism/Makefile @@ -1,13 +1,12 @@ -# New ports collection makefile for: schism -# Date created: 26 May 2005 -# Whom: Emanuel Haupt +# New ports collection makefile for: Schism Tracker +# Date created: 26 May 2005 +# Whom: Emanuel Haupt # # $FreeBSD$ # PORTNAME= schism -PORTVERSION= 0.2 -DISTVERSIONSUFFIX= a +DISTVERSION= 0.2a CATEGORIES= audio MASTER_SITES= http://rigelseven.com/schism/dl/ @@ -21,6 +20,7 @@ GNU_CONFIGURE= yes USE_REINPLACE= yes USE_GCC= 3.4+ +# Dies with bus error unless building debug version CXXFLAGS= -g CFLAGS= -g @@ -29,6 +29,8 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${CPPFLAGS}" \ CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" +PLIST_FILES= bin/${PORTNAME} + .include post-patch: @@ -38,6 +40,6 @@ post-patch: .endif do-install: - ${INSTALL} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin .include diff --git a/audio/schism/pkg-plist b/audio/schism/pkg-plist deleted file mode 100644 index c3a6c49e4c21..000000000000 --- a/audio/schism/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/schism -- cgit