aboutsummaryrefslogtreecommitdiff
path: root/editors/jed
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-10-27 09:59:03 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-10-27 09:59:03 +0000
commitc1c8dd1f5cc35bac899f9833f5a804483c41aef5 (patch)
tree575521adee0d63473db2763a6c319726e546417d /editors/jed
parent975b5789c7efd031c18ab7dcfd0e89e02bc87829 (diff)
downloadports-c1c8dd1f5cc35bac899f9833f5a804483c41aef5.tar.gz
ports-c1c8dd1f5cc35bac899f9833f5a804483c41aef5.zip
Notes
Diffstat (limited to 'editors/jed')
-rw-r--r--editors/jed/Makefile26
1 files changed, 16 insertions, 10 deletions
diff --git a/editors/jed/Makefile b/editors/jed/Makefile
index 15a218a50c5c..da180e24e655 100644
--- a/editors/jed/Makefile
+++ b/editors/jed/Makefile
@@ -17,18 +17,12 @@ COMMENT= A SLang-based text editor
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
+CONFLICTS= jed-devel-[0-9]*
+
USE_REINPLACE= yes
-.if !defined(WITHOUT_X11)
-USE_XLIB= yes
-XJED= xjed
-PLIST_SUB+= NOXJED=""
-MAKE_ENV+= XJED=yes
-.else
-PLIST_SUB+= NOXJED="@comment "
-.endif
+OPTIONS= X11 "Build xjed (depends of X11)" on
-DIST_SUBDIR= jed
GNU_CONFIGURE= yes
CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed \
CFLAGS="-I${LOCALBASE}/include" \
@@ -45,6 +39,18 @@ ALL_TARGET= all getmail ${XJED}
MAN1= jed.1 rgrep.1
INFO= jed
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_X11)
+PLIST_SUB+= NOXJED="@comment "
+.else
+USE_XLIB= yes
+XJED= xjed
+PLIST_SUB+= NOXJED=""
+MAKE_ENV+= XJED=yes
+.endif
+
+DIST_SUBDIR= jed
pre-configure:
.for n in 1 2 3
@${MV} ${WRKSRC}/info/jed.${n}in ${WRKSRC}/info/jed.info-${n}
@@ -57,4 +63,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/lib/README ${PREFIX}/lib/jed/lib
${INSTALL_DATA} ${WRKSRC}/lib/jed.conf ${PREFIX}/lib/jed/lib
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>