diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-07 05:01:14 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-07 05:01:14 +0800 |
commit | e72cadc8ba0c5dda3a30e811793a55fad58c5cce (patch) | |
tree | 34fbf5f7fb4f7c29c477bd443204254acd484ab5 /x11 | |
parent | 1adb7e319e1df7511c4567c1dac28ceb5121e410 (diff) | |
download | freebsd-ports-gnome-e72cadc8ba0c5dda3a30e811793a55fad58c5cce.tar.gz freebsd-ports-gnome-e72cadc8ba0c5dda3a30e811793a55fad58c5cce.tar.zst freebsd-ports-gnome-e72cadc8ba0c5dda3a30e811793a55fad58c5cce.zip |
Support stage
Set the bin/Eterm mode via plist
Only propose the MMX option on i386
Diffstat (limited to 'x11')
-rw-r--r-- | x11/eterm/Makefile | 28 | ||||
-rw-r--r-- | x11/eterm/pkg-plist | 3 |
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 |