diff options
author | garga <garga@FreeBSD.org> | 2013-11-01 07:33:45 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2013-11-01 07:33:45 +0800 |
commit | 16403d7c511e2044c8200c1501f6612054f48532 (patch) | |
tree | 13715f7ad18249f39314f00b481aab074cb58ebf /editors | |
parent | 38d1117cabd6c3a2dc56a53419dd99ef72165066 (diff) | |
download | freebsd-ports-gnome-16403d7c511e2044c8200c1501f6612054f48532.tar.gz freebsd-ports-gnome-16403d7c511e2044c8200c1501f6612054f48532.tar.zst freebsd-ports-gnome-16403d7c511e2044c8200c1501f6612054f48532.zip |
. Add LICENSE
. Simplify Makefile
Diffstat (limited to 'editors')
-rw-r--r-- | editors/jed/Makefile | 16 | ||||
-rw-r--r-- | editors/jed/pkg-plist | 2 |
2 files changed, 7 insertions, 11 deletions
diff --git a/editors/jed/Makefile b/editors/jed/Makefile index 5820e2b9a7f4..e931f13a5267 100644 --- a/editors/jed/Makefile +++ b/editors/jed/Makefile @@ -13,12 +13,15 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E} MAINTAINER= garga@FreeBSD.org COMMENT= A SLang-based text editor +LICENSE= GPLv2 + LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2 CONFLICTS= jed-devel-[0-9]* OPTIONS_DEFINE= X11 PERMS HOSTLOOKUP DOCS OPTIONS_DEFAULT=X11 HOSTLOOKUP DOCS +OPTIONS_SUB= X11 PERMS_DESC= Respect permissions by Root HOSTLOOKUP_DESC=Look-up for hostname @@ -40,15 +43,10 @@ MAKE_ENV+= JED_DOC_FILES="" \ ALL_TARGET= all getmail -.include <bsd.port.pre.mk> +X11_USE= XORG=x11 XORG=ice XORG=xt +X11_ALL_TARGET= xjed -.if ${PORT_OPTIONS:MX11} -USE_XORG= x11 ice xt -ALL_TARGET+= xjed -PLIST_SUB+= XJED="" -.else -PLIST_SUB+= XJED="@comment " -.endif +.include <bsd.port.pre.mk> .if empty(PORT_OPTIONS:MHOSTLOOKUP) HOSTNAME_CMD= /bin/hostname @@ -60,10 +58,8 @@ post-patch: -e 's,\.\./info/\*,,' \ -e 's,^\(JED_DOC_.*FILES\) =,\1 \?=,g' \ ${WRKSRC}/src/Makefile.in -.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e '/MKINSDIR.*DEST_DOC_DIR/d' \ ${WRKSRC}/src/Makefile.in -.endif .if empty(PORT_OPTIONS:MPERMS) @${REINPLACE_CMD} 's|jed_file_is_readonly (file, 1)|jed_file_is_readonly (file, 0)|' ${WRKSRC}/src/file.c .endif diff --git a/editors/jed/pkg-plist b/editors/jed/pkg-plist index 4e90b52dfc74..7ea6ff0c687d 100644 --- a/editors/jed/pkg-plist +++ b/editors/jed/pkg-plist @@ -1,7 +1,7 @@ @comment $FreeBSD$ bin/jed bin/jed-script -%%XJED%%bin/xjed +%%X11%%bin/xjed lib/jed/bin/getmail lib/jed/lib/README lib/jed/lib/abbrev.sl |