diff options
author | pawel <pawel@FreeBSD.org> | 2013-11-02 21:47:56 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-11-02 21:47:56 +0800 |
commit | 168f42656d9bf2db7d060779109bd3bbab35715c (patch) | |
tree | 840c1a88ffacf08fd8a63a0e67f9140ce12d6b3c | |
parent | df2072f5c6b006dd8240a5867e5a682369eee263 (diff) | |
download | freebsd-ports-gnome-168f42656d9bf2db7d060779109bd3bbab35715c.tar.gz freebsd-ports-gnome-168f42656d9bf2db7d060779109bd3bbab35715c.tar.zst freebsd-ports-gnome-168f42656d9bf2db7d060779109bd3bbab35715c.zip |
- Respect CFLAGS
- Switch to PLIST_FILES
- Support staging
PR: ports/181068
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r-- | editors/asedit/Makefile | 18 | ||||
-rw-r--r-- | editors/asedit/files/patch-aa | 19 | ||||
-rw-r--r-- | editors/asedit/pkg-plist | 7 |
3 files changed, 14 insertions, 30 deletions
diff --git a/editors/asedit/Makefile b/editors/asedit/Makefile index 9428c14f3b16..ebf5dc8df2a3 100644 --- a/editors/asedit/Makefile +++ b/editors/asedit/Makefile @@ -5,8 +5,7 @@ PORTNAME= asedit PORTVERSION= 1.3.2 PORTREVISION= 4 CATEGORIES= editors -MASTER_SITES= ${MASTER_SITE_XCONTRIB} -MASTER_SITE_SUBDIR= editors +MASTER_SITES= XCONTRIB/editors EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org @@ -15,7 +14,18 @@ COMMENT= Text editor for X/Motif USES= imake:notall motif USE_XORG= ice sm x11 xext xmu xp xt -MAN1= asedit.1 +PLIST_FILES= bin/asedit \ + lib/X11/app-defaults/Asedit \ + lib/X11/app-defaults/Asedit-sgi \ + lib/X11/app-defaults/Asedit_em \ + lib/X11/app-defaults/Asedit_em-sgi \ + lib/X11/asedit.hlp \ + lib/X11/asedit_em.hlp \ + man/man1/asedit.1.gz + +post-patch: + @${REINPLACE_CMD} -e \ + '/^XMLIB/s|-lPW|| ; \ + /^DEFINES/s|-O ||' ${WRKSRC}/Imakefile -NO_STAGE= yes .include <bsd.port.mk> diff --git a/editors/asedit/files/patch-aa b/editors/asedit/files/patch-aa deleted file mode 100644 index 3401e256ed20..000000000000 --- a/editors/asedit/files/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ -*** Imakefile.orig Sun Jul 28 21:43:57 1996 ---- Imakefile Sun Jul 28 21:44:31 1996 -*************** -*** 29,35 **** - - LOCAL_X_LIBDIR = - -! XMLIB = -lXm -lPW - - XCOMM - HP PW setup: XMLIB = -lXm -lc -lPW - XCOMM - SUN setup: XMLIB = -lXm ---- 29,35 ---- - - LOCAL_X_LIBDIR = - -! XMLIB = ${MOTIFLIB} - - XCOMM - HP PW setup: XMLIB = -lXm -lc -lPW - XCOMM - SUN setup: XMLIB = -lXm diff --git a/editors/asedit/pkg-plist b/editors/asedit/pkg-plist deleted file mode 100644 index 34b384f45f80..000000000000 --- a/editors/asedit/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/asedit -lib/X11/app-defaults/Asedit -lib/X11/app-defaults/Asedit-sgi -lib/X11/app-defaults/Asedit_em -lib/X11/app-defaults/Asedit_em-sgi -lib/X11/asedit.hlp -lib/X11/asedit_em.hlp |