summaryrefslogtreecommitdiff
path: root/editors/emacs23/Makefile
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2013-02-17 04:59:41 +0000
committerdholland <dholland@pkgsrc.org>2013-02-17 04:59:41 +0000
commitdf228563ec6a19a488c6bc2835c758d3e25b0e5c (patch)
tree4df1382782edd60fc57eae4660a8869ae0a4a6e8 /editors/emacs23/Makefile
parent79bcb03e1d8b3a02c1210b1693bbd8cf7f1648fe (diff)
downloadpkgsrc-df228563ec6a19a488c6bc2835c758d3e25b0e5c.tar.gz
Move editors/emacs to editors/emacs23, and change its PKGNAME from
emacs-23.4 to emacs23-23.4.
Diffstat (limited to 'editors/emacs23/Makefile')
-rw-r--r--editors/emacs23/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/editors/emacs23/Makefile b/editors/emacs23/Makefile
new file mode 100644
index 00000000000..7731db664b3
--- /dev/null
+++ b/editors/emacs23/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2013/02/17 04:59:41 dholland Exp $
+
+CONFLICTS+= emacs23-nox11-[0-9]*
+
+.include "../../editors/emacs23/Makefile.common"
+PKGREVISION= 12
+
+.include "options.mk"
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_VARS.prefix= PREFIX
+SUBST_FILES.prefix= src/s/netbsd.h
+
+# Replace manual page which only includes another one with a symbolic link
+# if manual compression is activated. The manual page won't work otherwise.
+.if defined(MANZ)
+post-install:
+ ${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ctags.1
+ ${LN} -s etags.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ctags.1
+.endif
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"