- 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
This commit is contained in:
Alexey Dokuchaev 2005-05-27 09:24:44 +00:00
parent 01ad444c87
commit 06d5f0b61d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136264
2 changed files with 8 additions and 7 deletions

View File

@ -1,13 +1,12 @@
# New ports collection makefile for: schism
# Date created: 26 May 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
# New ports collection makefile for: Schism Tracker
# Date created: 26 May 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>

View File

@ -1 +0,0 @@
bin/schism