diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-11 15:27:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-11 15:27:54 +0000 |
commit | 4b9fa2de2e55b9d444dd08572d81460efa910d1b (patch) | |
tree | d71a089c622d66bebb94921d1005d2a2b4318f31 /graphics/dia | |
parent | - Fix unbound_anchorflags in RC script (diff) |
Support stage
Notes
Notes:
svn path=/head/; revision=350986
Diffstat (limited to 'graphics/dia')
-rw-r--r-- | graphics/dia/Makefile | 31 | ||||
-rw-r--r-- | graphics/dia/pkg-plist | 2 |
2 files changed, 8 insertions, 25 deletions
diff --git a/graphics/dia/Makefile b/graphics/dia/Makefile index c00f8e4acb49..065baae76d44 100644 --- a/graphics/dia/Makefile +++ b/graphics/dia/Makefile @@ -13,11 +13,12 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Diagram creation program, similar to Visio +OPTIONS_DEFINE= DOCS + LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \ libpng15.so:${PORTSDIR}/graphics/png -USES= desktop-file-utils gettext gmake pathfix pkgconfig -USE_XZ= yes +USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig tar:xz USE_GNOME= gtk20 gnomeprefix libxslt libartlgpl2 intlhack INSTALLS_ICONS= yes GNU_CONFIGURE= yes @@ -25,27 +26,11 @@ CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-gnome +INSTALL_TARGET= install-strip -NO_STAGE= yes +DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl -MAN1= dia.1 -MANLANG= "" fr -.endif - -#.if !defined(WITHOUT_PYTHON) -#USE_PYTHON= yes -#USE_GNOME+= pygtk2 -#CONFIGURE_ARGS= --with-python -#PLIST_SUB+= PYTHON="" -#.else -#PLIST_SUB+= PYTHON="@comment " -#.endif - -.include <bsd.port.pre.mk> - .if ${ARCH} == "i386" LIB_DEPENDS+= libEMF.so:${PORTSDIR}/graphics/libemf CONFIGURE_ARGS+= --enable-libemf @@ -63,10 +48,6 @@ post-patch: ${WRKSRC}/objects/custom/shape_typeinfo.c \ ${WRKSRC}/tests/test-objects.c \ ${WRKSRC}/tests/test-boundingbox.c -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e '/SUBDIRS/s|data doc tests|data tests|g' \ - ${WRKSRC}/Makefile.in -.endif @${FIND} ${WRKSRC} -name Makefile.in | \ ${XARGS} ${REINPLACE_CMD} -e \ 's,\(^GTK_LIBS.*\),\1 ${PTHREAD_LIBS}, ; \ @@ -75,4 +56,4 @@ post-patch: s|echo aout|echo elf|g ; s|/usr/include/libEMF|${LOCALBASE}/include/libEMF|g ; \ s|-lstdc++||g' ${WRKSRC}/configure -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/dia/pkg-plist b/graphics/dia/pkg-plist index 8b7c392ba8a2..0e193bbb4da0 100644 --- a/graphics/dia/pkg-plist +++ b/graphics/dia/pkg-plist @@ -69,6 +69,8 @@ lib/dia/libxfig_filter.la lib/dia/libxfig_filter.so lib/dia/libxslt_filter.la lib/dia/libxslt_filter.so +%%PORTDOCS%%man/fr/man1/dia.1.gz +%%PORTDOCS%%man/man1/dia.1.gz share/applications/dia.desktop share/dia/dia-splash.png share/dia/shapes/Assorted/arrow-chevron.png |