aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 20:58:27 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 20:58:27 +0000
commitb55428d14a6a552c7e2405f40678662b6845e3d4 (patch)
tree9323b493038003001d35c1b93f7bbb7b20855ac6 /x11/rxvt
parent0f88ed614d3de9ed46c41028cf2f22975eeff57a (diff)
downloadports-b55428d14a6a552c7e2405f40678662b6845e3d4.tar.gz
ports-b55428d14a6a552c7e2405f40678662b6845e3d4.zip
Notes
Diffstat (limited to 'x11/rxvt')
-rw-r--r--x11/rxvt/Makefile62
1 files changed, 15 insertions, 47 deletions
diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile
index a1ed06763492..33d34180ceeb 100644
--- a/x11/rxvt/Makefile
+++ b/x11/rxvt/Makefile
@@ -33,6 +33,21 @@ CONFIGURE_ARGS= --enable-ttygid \
--with-xpm-library=${LOCALBASE}/lib
PLIST_FILES= bin/rxvt man/man1/${PORTNAME}.1.gz
+BIG5_CONFIGURE_ON= --enable-big5
+GB_CONFIGURE_ON= --enable-gb
+GREEK_CONFIGURE_ON= --enable-greek
+# enable half width/height shadows scrollbar
+HALF_SHADOW_CONFIGURE_ON= --enable-half-shadow
+KANJI_CONFIGURE_ON= --enable-kanji
+MENUBAR_CONFIGURE_ON= --enable-menubar
+NEXT_CONFIGURE_ON= --enable-next-scroll
+TRANSPARENCY_CONFIGURE_ON= --enable-transparency
+# make resources checking via XGetDefault()
+XGETDEFAULT_CONFIGURE_ON= --enable-xgetdefault
+# XIM (X Input Method) protocol support
+XIM_CONFIGURE_ON= --enable-xim
+XTERM_CONFIGURE_ON= --enable-xterm-scroll
+
.include <bsd.port.pre.mk>
# fails to build with new utmpx
@@ -42,53 +57,6 @@ CONFIGURE_ARGS+= --disable-utmp --disable-wtmp
CONFIGURE_ARGS+= --enable-utmp --enable-wtmp
.endif
-.if ${PORT_OPTIONS:MBIG5}
-CONFIGURE_ARGS+= --enable-big5
-.endif
-
-.if ${PORT_OPTIONS:MGB}
-CONFIGURE_ARGS+= --enable-gb
-.endif
-
-.if ${PORT_OPTIONS:MGREEK}
-CONFIGURE_ARGS+= --enable-greek
-.endif
-
-# enable half width/height shadows scrollbar
-.if ${PORT_OPTIONS:MHALF_SHADOW}
-CONFIGURE_ARGS+= --enable-half-shadow
-.endif
-
-.if ${PORT_OPTIONS:MKANJI}
-CONFIGURE_ARGS+= --enable-kanji
-.endif
-
-.if ${PORT_OPTIONS:MMENUBAR}
-CONFIGURE_ARGS+= --enable-menubar
-.endif
-
-.if ${PORT_OPTIONS:MNEXT}
-CONFIGURE_ARGS+= --enable-next-scroll
-.endif
-
-.if ${PORT_OPTIONS:MTRANSPARENCY}
-CONFIGURE_ARGS+= --enable-transparency
-.endif
-
-# make resources checking via XGetDefault()
-.if ${PORT_OPTIONS:MXGETDEFAULT}
-CONFIGURE_ARGS+= --enable-xgetdefault
-.endif
-
-# XIM (X Input Method) protocol support
-.if ${PORT_OPTIONS:MXIM}
-CONFIGURE_ARGS+= --enable-xim
-.endif
-
-.if ${PORT_OPTIONS:MXTERM}
-CONFIGURE_ARGS+= --enable-xterm-scroll
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|getpt()|posix_openpt(0)|' ${WRKSRC}/configure