aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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