aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-11-02 21:47:56 +0800
committerpawel <pawel@FreeBSD.org>2013-11-02 21:47:56 +0800
commit168f42656d9bf2db7d060779109bd3bbab35715c (patch)
tree840c1a88ffacf08fd8a63a0e67f9140ce12d6b3c /editors
parentdf2072f5c6b006dd8240a5867e5a682369eee263 (diff)
downloadfreebsd-ports-graphics-168f42656d9bf2db7d060779109bd3bbab35715c.tar.gz
freebsd-ports-graphics-168f42656d9bf2db7d060779109bd3bbab35715c.tar.zst
freebsd-ports-graphics-168f42656d9bf2db7d060779109bd3bbab35715c.zip
- Respect CFLAGS
- Switch to PLIST_FILES - Support staging PR: ports/181068 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'editors')
-rw-r--r--editors/asedit/Makefile18
-rw-r--r--editors/asedit/files/patch-aa19
-rw-r--r--editors/asedit/pkg-plist7
3 files changed, 14 insertions, 30 deletions
diff --git a/editors/asedit/Makefile b/editors/asedit/Makefile
index 9428c14f3b1..ebf5dc8df2a 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 3401e256ed2..00000000000
--- 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 34b384f45f8..00000000000
--- 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