aboutsummaryrefslogtreecommitdiff
path: root/editors/uemacs
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-10-07 06:49:02 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-10-07 06:49:02 +0000
commit813bf87b2fe7ea7a604c8cd398a481b2d648d429 (patch)
tree4bb10e2fcd0448c3fe4ae3e381dd95384e9243ef /editors/uemacs
parent458ddc22abab24719a0a46f13304d12f44de2ef4 (diff)
downloadports-813bf87b2fe7ea7a604c8cd398a481b2d648d429.tar.gz
ports-813bf87b2fe7ea7a604c8cd398a481b2d648d429.zip
Notes
Diffstat (limited to 'editors/uemacs')
-rw-r--r--editors/uemacs/Makefile10
-rw-r--r--editors/uemacs/files/patch-ac2
2 files changed, 6 insertions, 6 deletions
diff --git a/editors/uemacs/Makefile b/editors/uemacs/Makefile
index da0b721d71c0..0b28c4db4945 100644
--- a/editors/uemacs/Makefile
+++ b/editors/uemacs/Makefile
@@ -9,15 +9,15 @@
DISTNAME= ue400dev
PKGNAME= uemacs-4.0
CATEGORIES= editors
-MASTER_SITES= ftp://aquest.com/pub/uemacs400/disk2/ \
- ftp://informatik.hu-berlin.de/pub/pc/msdos/editors/ \
- ftp://ftp.biomath.jussieu.fr/pub/editors/memacs400/disk2/
+MASTER_SITES= ftp://aquest.com/pub/uemacs400/disk2/
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
NO_WRKSUBDIR= yes
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -Laq
-FETCH_BEFORE_ARGS= -NP
+
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c
.include <bsd.port.mk>
diff --git a/editors/uemacs/files/patch-ac b/editors/uemacs/files/patch-ac
index c18abe1863f3..e511ee39a9f2 100644
--- a/editors/uemacs/files/patch-ac
+++ b/editors/uemacs/files/patch-ac
@@ -16,7 +16,7 @@
#else
- path = getenv("PATH");
+ strncpy(patha, getenv("PATH"), NFILEN - 25);
-+ strcat(patha, ":/usr/local/share/uemacs");
++ strcat(patha, ":%%PREFIX%%/share/uemacs");
#endif
#endif
+ path = patha;