Stage support

This commit is contained in:
Antoine Brodin 2014-01-21 18:17:31 +00:00
parent 279d2e8063
commit 18bcd18f9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340629
2 changed files with 5 additions and 7 deletions

View file

@ -17,23 +17,20 @@ USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CLIBS="-lm -lX11 -L${LOCALBASE}/lib"
MAN1= 4va.1
4VA_DATA_FILES= 16cell.4vd 24cell.4vd 5cell.4vd 600cell.4vd ctor.4vd \
ctor2.4vd hcube.4vd hsph.4vd sin.4vd tripris.4vd
NO_STAGE= yes
post-extract:
@${CHMOD} -R go-x ${WRKSRC}/
do-install:
.for file in 4va 4vdmake ctorus cutctorus
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
${MKDIR} ${PREFIX}/share/4va
@${MKDIR} ${STAGEDIR}${PREFIX}/share/4va
.for file in ${4VA_DATA_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/4va
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/4va
.endfor
${INSTALL_MAN} ${WRKSRC}/4va.man ${PREFIX}/man/man1/4va.1
${INSTALL_MAN} ${WRKSRC}/4va.man ${STAGEDIR}${PREFIX}/man/man1/4va.1
.include <bsd.port.mk>

View file

@ -2,6 +2,7 @@ bin/4va
bin/4vdmake
bin/ctorus
bin/cutctorus
man/man1/4va.1.gz
share/4va/16cell.4vd
share/4va/24cell.4vd
share/4va/5cell.4vd