- 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:
parent
01ad444c87
commit
06d5f0b61d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136264
@ -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>
|
||||
|
@ -1 +0,0 @@
|
||||
bin/schism
|
Loading…
Reference in New Issue
Block a user