aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/drivel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-02 07:59:50 +0800
committerantoine <antoine@FreeBSD.org>2014-02-02 07:59:50 +0800
commit6cbf146f57fff39c46539f41112f6e324f98cf75 (patch)
treee6857996b6cb79e5775230665839f3eb26917e61 /deskutils/drivel
parent7d8c14e89f0098fa06261bd8a69a69ef4781d591 (diff)
downloadfreebsd-ports-gnome-6cbf146f57fff39c46539f41112f6e324f98cf75.tar.gz
freebsd-ports-gnome-6cbf146f57fff39c46539f41112f6e324f98cf75.tar.zst
freebsd-ports-gnome-6cbf146f57fff39c46539f41112f6e324f98cf75.zip
- Stage support
- Use OPTIONS helpers
Diffstat (limited to 'deskutils/drivel')
-rw-r--r--deskutils/drivel/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/deskutils/drivel/Makefile b/deskutils/drivel/Makefile
index c876b9f69cc7..e3754a89b963 100644
--- a/deskutils/drivel/Makefile
+++ b/deskutils/drivel/Makefile
@@ -30,14 +30,8 @@ GCONF_SCHEMAS= drivel.schemas
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGTKSPELL}
-LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
-.else
-CONFIGURE_ARGS+= --without-gtkspell
-.endif
+GTKSPELL_LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
+GTKSPELL_CONFIGURE_OFF= --without-gtkspell
post-patch:
@${REINPLACE_CMD} -e '/-g2/s|^|#|g' ${WRKSRC}/configure