1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/games/ensemblist/Makefile
2006-07-22 04:28:27 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: ensemblist
# Date created: 06 Sep 2005
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
#
# $FreeBSD$
#
PORTNAME= ensemblist
PORTVERSION= 040126
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Assemble given shapes from primitives
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut \
mikmod.2:${PORTSDIR}/audio/libmikmod \
png.5:${PORTSDIR}/graphics/png
USE_GMAKE= yes
USE_GL= yes
USE_X_PREFIX= yes
MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}"
PLIST= ${WRKDIR}/pkg-plist
PLIST_FILES= bin/ensemblist
PLIST_DIRS= %%DATADIR%%
MAN6= ensemblist.6
PORTDOCS= *
pre-install:
@${RM} -f ${PLIST}
@${FIND} ${WRKSRC}/datas -type f | ${SORT} \
| ${SED} -e 's|^${WRKSRC}/datas|%%DATADIR%%|' >> ${PLIST}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/datas/* ${DATADIR}
.ifndef (NOPORTDOCS)
cd ${WRKSRC}/html && \
${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
.endif
${INSTALL_MAN} ${WRKSRC}/ensemblist.6 ${MAN6PREFIX}/man/man6
.include <bsd.port.mk>