Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 23:33:46 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332300 - head/editors/jed
Message-ID:  <201310312333.r9VNXk5S011091@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Thu Oct 31 23:33:45 2013
New Revision: 332300
URL: http://svnweb.freebsd.org/changeset/ports/332300

Log:
  . Add LICENSE
  . Simplify Makefile

Modified:
  head/editors/jed/Makefile   (contents, props changed)
  head/editors/jed/pkg-plist

Modified: head/editors/jed/Makefile
==============================================================================
--- head/editors/jed/Makefile	Thu Oct 31 23:33:13 2013	(r332299)
+++ head/editors/jed/Makefile	Thu Oct 31 23:33:45 2013	(r332300)
@@ -13,12 +13,15 @@ DISTNAME=	${PORTNAME}-${PORTVERSION:R}-$
 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

Modified: head/editors/jed/pkg-plist
==============================================================================
--- head/editors/jed/pkg-plist	Thu Oct 31 23:33:13 2013	(r332299)
+++ head/editors/jed/pkg-plist	Thu Oct 31 23:33:45 2013	(r332300)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310312333.r9VNXk5S011091>