mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
- Register CONFLICTS with jed-devel
- OPTIONS'ify
This commit is contained in:
parent
975b5789c7
commit
c1c8dd1f5c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146467
1 changed files with 16 additions and 10 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue