mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
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.
43 lines
860 B
Makefile
43 lines
860 B
Makefile
# Created by: Marc Fonvieille <blackend@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= figurine
|
|
PORTVERSION= 1.0.5
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Drawing program for X11
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
RUN_DEPENDS= fig2dev:print/transfig
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= xorg
|
|
USE_XORG= xpm
|
|
|
|
PLIST_FILES= bin/figurine \
|
|
man/man1/figurine.1.gz
|
|
|
|
PORTDOCS= *
|
|
|
|
# Optimizations produce bad assembly code on sparc64
|
|
CFLAGS_sparc64= -O0
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|datadir = @datadir@|datadir = @datadir@/doc|' \
|
|
${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/src/Makefile.in \
|
|
${WRKSRC}/Doc/Makefile.in \
|
|
${WRKSRC}/examples/Makefile.in
|
|
|
|
post-patch-DOCS-off:
|
|
@${REINPLACE_CMD} -e "s|Doc examples src|src|" \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|