summaryrefslogtreecommitdiffstats
path: root/textproc/yelp-xsl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/yelp-xsl/Makefile')
-rw-r--r--textproc/yelp-xsl/Makefile24
1 files changed, 6 insertions, 18 deletions
diff --git a/textproc/yelp-xsl/Makefile b/textproc/yelp-xsl/Makefile
index 15f9aae42..6256661ca 100644
--- a/textproc/yelp-xsl/Makefile
+++ b/textproc/yelp-xsl/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: yelp
-# Date created: 18 May 2002
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
# $MCom$
-#
PORTNAME= yelp-xsl
PORTVERSION= 3.4.2
@@ -16,23 +12,15 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= DocBook XSLT stylesheets for yelp
BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool
-LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt
#USE_GETTEXT= yes
USE_XZ= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack intlhack pkgconfig libxml2
+USES= pathfix
+USE_PKGCONFIG= build
+USE_GNOME= gnomeprefix intlhack libxml2 libxslt
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector
-.include <bsd.port.pre.mk>
-
-# Around the time GCC stack protection (aka Propolice) for userland
-# was enabled on src/share/mk/bsd.sys.mk
-# SVN rev 180012 on 2008-06-25 21:33:28Z by ru
-.if ${OSVERSION} >= 800040
-LDFLAGS+= -fstack-protector
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>