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
35 lines
929 B
Makefile
35 lines
929 B
Makefile
# Created by: Malte Lance <malte.lance@gmx.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= 4va
|
|
PORTVERSION= 1.21
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SUNSITE/apps/graphics/hacks/X
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Four-Dimensional graphics tumbler for X11
|
|
|
|
USE_XORG= x11
|
|
USES= tar:tgz
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
CLIBS="-lm -lX11 -L${LOCALBASE}/lib"
|
|
|
|
4VA_DATA_FILES= 16cell.4vd 24cell.4vd 5cell.4vd 600cell.4vd ctor.4vd \
|
|
ctor2.4vd hcube.4vd hsph.4vd sin.4vd tripris.4vd
|
|
|
|
post-extract:
|
|
@${CHMOD} -R go-x ${WRKSRC}/
|
|
|
|
do-install:
|
|
.for file in 4va 4vdmake ctorus cutctorus
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/4va
|
|
.for file in ${4VA_DATA_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/4va
|
|
.endfor
|
|
${INSTALL_MAN} ${WRKSRC}/4va.man ${STAGEDIR}${PREFIX}/man/man1/4va.1
|
|
|
|
.include <bsd.port.mk>
|