diff options
author | tg <tg@FreeBSD.org> | 1999-10-07 14:49:02 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1999-10-07 14:49:02 +0800 |
commit | a230e4d2c88828b891dfdd61305e144fcbdd2c0a (patch) | |
tree | 24a7b352cfeba5f834cba5a92cc463b445b38d00 /editors/uemacs | |
parent | c325da75d7840dc94fe342cd7c10dd61e969fdf8 (diff) | |
download | freebsd-ports-gnome-a230e4d2c88828b891dfdd61305e144fcbdd2c0a.tar.gz freebsd-ports-gnome-a230e4d2c88828b891dfdd61305e144fcbdd2c0a.tar.zst freebsd-ports-gnome-a230e4d2c88828b891dfdd61305e144fcbdd2c0a.zip |
Fix MASTER_SITES, don't hardcode /usr/local.
PR: 14064
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'editors/uemacs')
-rw-r--r-- | editors/uemacs/Makefile | 10 | ||||
-rw-r--r-- | editors/uemacs/files/patch-ac | 2 |
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; |