aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-11-02 13:47:56 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-11-02 13:47:56 +0000
commita041d3e53754567e3bf233222e39a6c0476649fb (patch)
tree840c1a88ffacf08fd8a63a0e67f9140ce12d6b3c /editors
parentb465a86bb5becaed6b9b58f5b07badf3d2b66a38 (diff)
downloadports-a041d3e53754567e3bf233222e39a6c0476649fb.tar.gz
ports-a041d3e53754567e3bf233222e39a6c0476649fb.zip
- Respect CFLAGS
- Switch to PLIST_FILES - Support staging PR: ports/181068 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=332482
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 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