diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-11-24 01:39:18 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-11-24 01:39:18 +0800 |
commit | 31d2ef1f260b7d630e3337f5cc4bef8c8287fa33 (patch) | |
tree | 6ceacf3295d2ef66d9e50d98bd84a7aa7b68b4a6 /editors/em | |
parent | 2fc76eaecdc96698982947f8158d9eff3604a684 (diff) | |
download | freebsd-ports-graphics-31d2ef1f260b7d630e3337f5cc4bef8c8287fa33.tar.gz freebsd-ports-graphics-31d2ef1f260b7d630e3337f5cc4bef8c8287fa33.tar.zst freebsd-ports-graphics-31d2ef1f260b7d630e3337f5cc4bef8c8287fa33.zip |
- Support CC/CFLAGS/PREFIX proeprly
- Remove version string from pkg-comment
bump port revision
PR: 32217
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'editors/em')
-rw-r--r-- | editors/em/Makefile | 16 | ||||
-rw-r--r-- | editors/em/pkg-comment | 2 |
2 files changed, 13 insertions, 5 deletions
diff --git a/editors/em/Makefile b/editors/em/Makefile index 55849b2cd1c..45ffd867bbb 100644 --- a/editors/em/Makefile +++ b/editors/em/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: MicroEmacs/PK-TOY 4.0.16 +# New ports collection makefile for: MicroEmacs/PK-TOY # Date created: 27 Jan 2001 # Whom: Tadashi Yumoto # @@ -7,13 +7,21 @@ PORTNAME= em PORTVERSION= 4.0.16 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://www3.famille.ne.jp/~ncc1701/em/ -DISTNAME= em-4.0.16-lt +DISTNAME= ${PORTNAME}-${PORTVERSION}-lt MAINTAINER= ports@FreeBSD.org -post-install: - strip ${PREFIX}/bin/em +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" DEFINES="" + +pre-patch: + @${PERL} -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/epath.h + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/em ${PREFIX}/bin/em + ${INSTALL_DATA} ${WRKSRC}/emacs.hlp ${PREFIX}/etc/emacs.hlp + ${INSTALL_DATA} ${WRKSRC}/emacs.rc ${PREFIX}/etc/dot.emacsrc .include <bsd.port.mk> diff --git a/editors/em/pkg-comment b/editors/em/pkg-comment index 4204b8d0a0f..c45c4721660 100644 --- a/editors/em/pkg-comment +++ b/editors/em/pkg-comment @@ -1 +1 @@ -MicroEmacs 4.0/PK-TOY (version 4.0.16) +Full screen editor based on MicroEMACS |