aboutsummaryrefslogtreecommitdiff
path: root/graphics/libwmf
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-04-22 18:40:24 +0000
committerRene Ladan <rene@FreeBSD.org>2014-04-22 18:40:24 +0000
commit34b3ce97e3c8210618bcb73e85764d7da42931e6 (patch)
treec431c368646c3010581d9a9b21167d9046cc0e6b /graphics/libwmf
parent71afc9d4e872c3bc79f269d55b8ae788dfddcd44 (diff)
downloadports-34b3ce97e3c8210618bcb73e85764d7da42931e6.tar.gz
ports-34b3ce97e3c8210618bcb73e85764d7da42931e6.zip
Notes
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index cbf623b77b35..0a8b33f794f1 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -29,20 +29,12 @@ PORTDOCS= *
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
+OPTIONS_SUB= yes
+X11_USE= XORG=x11
+X11_CONFIGURE_OFF=--with-x=no
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MX11}
-USE_XORG= x11
-PLIST_SUB+= X11=""
-CONFLICTS+= libwmf-nox11-0.*
-.else
-PKGNAMESUFFIX= -nox11
-CONFIGURE_ARGS+= --with-x=no
-PLIST_SUB+= X11="@comment "
-CONFLICTS+= libwmf-0.*
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|src include fonts doc|src include fonts|g' \
${WRKSRC}/Makefile.in
@@ -57,7 +49,6 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . | \
${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
- @${CHOWN} -R ${SHAREOWN}:${SHAREGROUP} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>