60d1a83c2a
- 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
39 lines
862 B
Makefile
39 lines
862 B
Makefile
# Created by: trevor
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= acidwarp
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SUNSITE/apps/graphics/hacks/svgalib
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= SVGAlib demo which displays trippy mathematical images in cycling colors
|
|
|
|
LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
ALL_TARGET= ${PORTNAME}
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
PLIST_FILES= bin/acidwarp
|
|
PORTDOCS= README TODO Thanks
|
|
|
|
OPTIONS_DEFINE= SETUID DOCS
|
|
OPTIONS_DEFAULT= SETUID
|
|
SETUID_DESC= Install with setuid bit set
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSETUID}
|
|
BINMODE= 4555
|
|
.endif
|
|
|
|
post-extract:
|
|
${RM} -f ${WRKSRC}/acidwarp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/acidwarp ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|