- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
35 lines
850 B
Makefile
35 lines
850 B
Makefile
# Created by: Yonatan@Xpert.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fortune-mod-bofh
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= misc
|
|
MASTER_SITES= LOCAL/flz/${PORTNAME} \
|
|
http://www.irq.org/
|
|
DISTFILES= bofh-fortune-mod${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= onatan@gmail.com
|
|
COMMENT= Compilation of excuses from the "Bastard Operator From Hell"
|
|
|
|
WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
|
|
.if exists(/usr/games/strfile)
|
|
STRFILE= /usr/games/strfile
|
|
.elif exists(/usr/bin/strfile)
|
|
STRFILE= /usr/bin/strfile
|
|
.else
|
|
IGNORE= needs strfile command. Please install games distribution of base system
|
|
.endif
|
|
|
|
do-build:
|
|
@${STRFILE} ${WRKSRC}/bofh
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
|
${INSTALL_DATA} ${WRKSRC}/bofh* ${STAGEDIR}${PREFIX}/share/games/fortune
|
|
|
|
.include <bsd.port.mk>
|