diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-23 17:39:18 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-23 17:39:18 +0000 |
commit | 274b4872abe0d76351efdb5070a54ab45319fa1c (patch) | |
tree | 722e43fc1ceefa1611bd5db3035439c643a5f1fb /editors/em | |
parent | upgrade to 0.5.1 (diff) |
- Support CC/CFLAGS/PREFIX proeprly
- Remove version string from pkg-comment
bump port revision
PR: 32217
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=50420
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 55849b2cd1cc..45ffd867bbb3 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 4204b8d0a0fd..c45c4721660e 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 |