aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/figurine
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-02-05 18:21:20 +0800
committergahr <gahr@FreeBSD.org>2014-02-05 18:21:20 +0800
commit756bde81a263beb66bac50196473fa5be935f5ba (patch)
treee6fc870d2c3972c5e8ad21e96659f4a613a39516 /graphics/figurine
parent556ca3b1793ab790dc2c2e96f6bd537c8c70e5fa (diff)
downloadfreebsd-ports-gnome-756bde81a263beb66bac50196473fa5be935f5ba.tar.gz
freebsd-ports-gnome-756bde81a263beb66bac50196473fa5be935f5ba.tar.zst
freebsd-ports-gnome-756bde81a263beb66bac50196473fa5be935f5ba.zip
- STAGE-clean
- Convert to OPTIONSng - Add LICENSE - Remove article from COMMENT line
Diffstat (limited to 'graphics/figurine')
-rw-r--r--graphics/figurine/Makefile18
-rw-r--r--graphics/figurine/pkg-plist59
2 files changed, 12 insertions, 65 deletions
diff --git a/graphics/figurine/Makefile b/graphics/figurine/Makefile
index bf83f0fcdd32..8ac4ff7cac41 100644
--- a/graphics/figurine/Makefile
+++ b/graphics/figurine/Makefile
@@ -8,17 +8,23 @@ CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
-COMMENT= A drawing program for X11
+COMMENT= Drawing program for X11
+
+LICENSE= GPLv2
+
+OPTIONS_DEFINE= DOCS
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
GNU_CONFIGURE= yes
USE_XORG= xpm
-MAN1= figurine.1
+PLIST_FILES= bin/figurine \
+ man/man1/figurine.1.gz
+
+PORTDOCS= *
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
# Optimizations produce bad assembly code on sparc64
.if ${ARCH} == "sparc64"
@@ -26,7 +32,7 @@ CFLAGS+= -O0
.endif
post-patch:
-.if defined(NOPORTDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e "s|Doc examples src|src|" \
${WRKSRC}/Makefile.in
.endif
@@ -36,4 +42,4 @@ post-patch:
${WRKSRC}/Doc/Makefile.in \
${WRKSRC}/examples/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/figurine/pkg-plist b/graphics/figurine/pkg-plist
deleted file mode 100644
index 68f56b546906..000000000000
--- a/graphics/figurine/pkg-plist
+++ /dev/null
@@ -1,59 +0,0 @@
-bin/figurine
-%%PORTDOCS%%share/doc/figurine/FORMAT3.2
-%%PORTDOCS%%share/doc/figurine/INSTALL
-%%PORTDOCS%%share/doc/figurine/README.figs
-%%PORTDOCS%%share/doc/figurine/anime.fig
-%%PORTDOCS%%share/doc/figurine/arc.gif
-%%PORTDOCS%%share/doc/figurine/arc.html
-%%PORTDOCS%%share/doc/figurine/arccircle.html
-%%PORTDOCS%%share/doc/figurine/arcellipse.gif
-%%PORTDOCS%%share/doc/figurine/arcsettings.gif
-%%PORTDOCS%%share/doc/figurine/arrowsettings.gif
-%%PORTDOCS%%share/doc/figurine/attachment.html
-%%PORTDOCS%%share/doc/figurine/colour.gif
-%%PORTDOCS%%share/doc/figurine/compound.gif
-%%PORTDOCS%%share/doc/figurine/compound.html
-%%PORTDOCS%%share/doc/figurine/duck-and-cover.fig
-%%PORTDOCS%%share/doc/figurine/editmenu.gif
-%%PORTDOCS%%share/doc/figurine/ellipse.gif
-%%PORTDOCS%%share/doc/figurine/ellipse.html
-%%PORTDOCS%%share/doc/figurine/ellipsebox.gif
-%%PORTDOCS%%share/doc/figurine/endstyle.gif
-%%PORTDOCS%%share/doc/figurine/export.html
-%%PORTDOCS%%share/doc/figurine/filemenu.gif
-%%PORTDOCS%%share/doc/figurine/fillstyle.gif
-%%PORTDOCS%%share/doc/figurine/font.gif
-%%PORTDOCS%%share/doc/figurine/grid.gif
-%%PORTDOCS%%share/doc/figurine/helpmenu.gif
-%%PORTDOCS%%share/doc/figurine/icons.html
-%%PORTDOCS%%share/doc/figurine/index.html
-%%PORTDOCS%%share/doc/figurine/joinstyle.gif
-%%PORTDOCS%%share/doc/figurine/justification.gif
-%%PORTDOCS%%share/doc/figurine/linestyle.gif
-%%PORTDOCS%%share/doc/figurine/linewidth.gif
-%%PORTDOCS%%share/doc/figurine/mainwin.gif
-%%PORTDOCS%%share/doc/figurine/menus.html
-%%PORTDOCS%%share/doc/figurine/node.gif
-%%PORTDOCS%%share/doc/figurine/node.html
-%%PORTDOCS%%share/doc/figurine/pointer.gif
-%%PORTDOCS%%share/doc/figurine/pointer.html
-%%PORTDOCS%%share/doc/figurine/polygon.gif
-%%PORTDOCS%%share/doc/figurine/polygon.html
-%%PORTDOCS%%share/doc/figurine/polygonsettings.gif
-%%PORTDOCS%%share/doc/figurine/polyline.gif
-%%PORTDOCS%%share/doc/figurine/polyline.html
-%%PORTDOCS%%share/doc/figurine/rectangle.gif
-%%PORTDOCS%%share/doc/figurine/rectangle.html
-%%PORTDOCS%%share/doc/figurine/roundboxsettings.gif
-%%PORTDOCS%%share/doc/figurine/showgrid.gif
-%%PORTDOCS%%share/doc/figurine/spline.gif
-%%PORTDOCS%%share/doc/figurine/spline.html
-%%PORTDOCS%%share/doc/figurine/splinesettings.gif
-%%PORTDOCS%%share/doc/figurine/text.gif
-%%PORTDOCS%%share/doc/figurine/text.html
-%%PORTDOCS%%share/doc/figurine/toolwin.gif
-%%PORTDOCS%%share/doc/figurine/view.html
-%%PORTDOCS%%share/doc/figurine/viewmenu.gif
-%%PORTDOCS%%share/doc/figurine/zoomin.gif
-%%PORTDOCS%%share/doc/figurine/zoomout.gif
-%%PORTDOCS%%@dirrm share/doc/figurine