aboutsummaryrefslogtreecommitdiff
path: root/cad/repsnapper
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
commit9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch)
tree8583dfe71adaea6ce266633e1799cd602516b801 /cad/repsnapper
parent25c4307da135103ea810d65f96f2f1c21e0547b4 (diff)
downloadports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.tar.gz
ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.zip
Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here: - trim headers - convert to new options framework
Notes
Notes: svn path=/head/; revision=316850
Diffstat (limited to 'cad/repsnapper')
-rw-r--r--cad/repsnapper/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/cad/repsnapper/Makefile b/cad/repsnapper/Makefile
index 5199d489ab87..bb00b4c319d8 100644
--- a/cad/repsnapper/Makefile
+++ b/cad/repsnapper/Makefile
@@ -45,7 +45,9 @@ USE_GMAKE= yes
USE_XORG= ice pixman sm x11 xau xcomposite xcursor xdamage xdmcp xext \
xfixes xi xinerama xmu xrandr xrender xt xxf86vm
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
@@ -75,10 +77,4 @@ post-install:
${PREFIX}/etc/xdg/repsnapper/repsnapper.conf ; \
fi
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-IGNORE= needs acosl(3) function to compile
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>