| @@ -1,25 +1,18 @@ | | | @@ -1,25 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.32 2011/12/11 21:02:29 marino Exp $ | | 1 | # $NetBSD: Makefile,v 1.33 2011/12/13 06:20:16 marino Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${DISTNAME:S/-/-nox11-/} | | 3 | PKGNAME= ${DISTNAME:S/-/-nox11-/} |
4 | | | 4 | |
5 | CONFLICTS+= emacs-[0-9]* | | 5 | CONFLICTS+= emacs-[0-9]* |
6 | | | 6 | |
7 | FILESDIR= ${.CURDIR}/../../editors/emacs/files | | 7 | FILESDIR= ${.CURDIR}/../../editors/emacs/files |
8 | PATCHDIR= ${.CURDIR}/../../editors/emacs/patches | | 8 | PATCHDIR= ${.CURDIR}/../../editors/emacs/patches |
9 | PKGDIR= ${.CURDIR}/../../editors/emacs | | 9 | PKGDIR= ${.CURDIR}/../../editors/emacs |
10 | | | 10 | |
11 | .include "../../editors/emacs/Makefile.common" | | 11 | .include "../../editors/emacs/Makefile.common" |
12 | | | 12 | |
13 | CONFIGURE_ARGS+= --without-dbus --without-m17n-flt --without-otf \ | | 13 | CONFIGURE_ARGS+= --without-dbus --without-m17n-flt --without-otf \ |
14 | --without-rsvg --without-x --without-xft \ | | 14 | --without-rsvg --without-x --without-xft \ |
15 | --without-gif --without-jpeg --without-png \ | | 15 | --without-gif --without-jpeg --without-png \ |
16 | --without-tiff --without-xpm | | 16 | --without-tiff --without-xpm |
17 | | | 17 | |
18 | ## Update emacs.desktop to launch emacs-nox11 in Terminal | | | |
19 | SUBST_CLASSES+= term | | | |
20 | SUBST_STAGE.term= post-patch | | | |
21 | SUBST_MESSAGE.term= Enabling desktop launch in Terminal | | | |
22 | SUBST_FILES.term= etc/emacs.desktop | | | |
23 | SUBST_SED.term= -e 's,^Terminal=.*,Terminal=true,' | | | |
24 | | | | |
25 | .include "../../mk/bsd.pkg.mk" | | 18 | .include "../../mk/bsd.pkg.mk" |