mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
b5a0cefab8
PR: 42039 Submitted by: tkato@prontomail.com
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: white_dune
|
|
# Date created: Apr 12, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= white_dune
|
|
PORTVERSION= 0.19.4
|
|
PORTEPOCH= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.csv.ica.uni-stuttgart.de/vrml/dune/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}pl${PORTVERSION:E}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
png.5:${PORTSDIR}/graphics/png
|
|
|
|
USE_REINPLACE= yes
|
|
USE_MESA= yes
|
|
USE_MOTIF= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
ALL_TARGET= # empty
|
|
|
|
MAN1= dune.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|<values.h>|<limits.h>|g' ${WRKSRC}/src/stdafx.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/nostereodune ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${TAR} -C ${WRKSRC}/docs -cf - . | \
|
|
${TAR} -C ${DOCSDIR} --unlink -xf -
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|