be6c15b5c6
Add USES=xorg and USES=gl to ports in categories starting with 'g'. While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: cfs@ing.puc.cl (original)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= urt
|
|
PORTVERSION= 3.1b1
|
|
PORTREVISION= 12
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= https://BSDforge.com/projects/source/graphics/utah-raster/
|
|
|
|
MAINTAINER= portmaster@bsdforge.com
|
|
COMMENT= Toolkit and library for raster image processing
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/copyright
|
|
|
|
LIB_DEPENDS= libnetpbm.so:graphics/netpbm \
|
|
libtiff.so:graphics/tiff
|
|
|
|
USES= gmake tar:xz xorg
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/netpbm
|
|
USE_XORG= x11 xext
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT=Configure
|
|
CONFIGURE_ARGS= config/urt
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
|
|
ALL_TARGET= # none
|
|
USE_LDCONFIG= yes
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librle.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/img
|
|
@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/img)
|
|
|
|
.include <bsd.port.mk>
|