aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-06 21:01:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-06 21:01:14 +0000
commit059c482d390fccb42a356304a69369111c571eb6 (patch)
tree34fbf5f7fb4f7c29c477bd443204254acd484ab5 /x11
parentd342eafb8e12501d2afa087cc79cea17d1c827a5 (diff)
downloadports-059c482d390fccb42a356304a69369111c571eb6.tar.gz
ports-059c482d390fccb42a356304a69369111c571eb6.zip
Support stage
Set the bin/Eterm mode via plist Only propose the MMX option on i386
Notes
Notes: svn path=/head/; revision=338931
Diffstat (limited to 'x11')
-rw-r--r--x11/eterm/Makefile28
-rw-r--r--x11/eterm/pkg-plist3
2 files changed, 12 insertions, 19 deletions
diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile
index 8e87d67144bf..4ad63d02cfba 100644
--- a/x11/eterm/Makefile
+++ b/x11/eterm/Makefile
@@ -12,7 +12,7 @@ MAINTAINER?= olgeni@FreeBSD.org
COMMENT?= X11 terminal emulator based on rxvt/xterm
BUILD_DEPENDS= man2html:${PORTSDIR}/textproc/man2html
-LIB_DEPENDS= ast:${PORTSDIR}/devel/libast
+LIB_DEPENDS= libast.so:${PORTSDIR}/devel/libast
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
@@ -24,30 +24,20 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_CSTD= gnu89
-OPTIONS_DEFINE= MMX
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE_i386= MMX
USE_XORG= x11 xt
USES= iconv
USE_EFL= imlib2
-
-MAN1= Eterm.1
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MMMX} && (${ARCH} == "i386")
-CONFIGURE_ARGS+=--enable-mmx
-.endif
+MMX_CONFIGURE_ARGS= --enable-mmx
post-patch:
@${FIND} ${WRKSRC} -name '*.orig' -delete
post-install:
- @${CHMOD} 4711 ${PREFIX}/bin/Eterm
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11/eterm/pkg-plist b/x11/eterm/pkg-plist
index 57d48c10d157..dad787deb9fc 100644
--- a/x11/eterm/pkg-plist
+++ b/x11/eterm/pkg-plist
@@ -2,7 +2,9 @@ bin/Esetroot
bin/Etbg
bin/Etbg_update_list
bin/Etcolors
+@mode 4771
bin/Eterm
+@mode
bin/Etsearch
bin/Ettable
bin/kEsetroot
@@ -10,6 +12,7 @@ lib/libEterm.a
lib/libEterm.la
lib/libEterm.so
lib/libEterm.so.9
+man/man1/Eterm.1.gz
share/Eterm/gdb.scr
share/Eterm/pix/bar_horizontal_1.png
share/Eterm/pix/bar_horizontal_2.png