ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should start with lower-case letter and not end with a period which is added by the framework, similar to other knobs like BROKEN, IGNORE, et al. While here, remove needless quoting, add missing Oxford comma, expand contractions and jargonisms, use correct spelling for proper names.
40 lines
1,007 B
Makefile
40 lines
1,007 B
Makefile
PORTNAME= core
|
|
PORTVERSION= svn20130912
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel games
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
|
|
PKGNAMEPREFIX= bennugd-
|
|
DISTNAME= bennugd-${PORTVERSION}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= High level open source game development suite, core libs
|
|
|
|
USES= dos2unix libtool pkgconfig tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --bindir="${PREFIX}/libexec"
|
|
SUB_FILES= bgdc bgdi
|
|
USE_LDCONFIG= yes
|
|
DOS2UNIX_GLOB= *.c *.h
|
|
INSTALL_TARGET= install-strip
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
ONLY_FOR_ARCHS_REASON= dies with segmentation fault on !i386
|
|
|
|
WRKSRC= ${WRKDIR}/bennugd/${PORTNAME}
|
|
|
|
PLIST_FILES= bin/bgdc bin/bgdi \
|
|
libexec/bgdc libexec/bgdi \
|
|
lib/libbgdrtm.so
|
|
|
|
post-extract:
|
|
@${CHMOD} a+x ${WRKSRC}/configure ${WRKSRC}/install-sh
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/bgdi ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKDIR}/bgdc ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|