diff options
| -rw-r--r-- | editors/emacs/Makefile | 18 | ||||
| -rw-r--r-- | editors/emacs/pkg/PFRAG.motif | 2 | ||||
| -rw-r--r-- | editors/emacs/pkg/PFRAG.no-no_x11 | 16 | ||||
| -rw-r--r-- | editors/emacs/pkg/PLIST | 2 |
4 files changed, 15 insertions, 23 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index 48d1fc2..2d62d56 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile | |||
| @@ -19,7 +19,7 @@ EXTRACT_SUFX= .tar.xz | |||
| 19 | 19 | ||
| 20 | DEBUG_PACKAGES = ${BUILD_PACKAGES} | 20 | DEBUG_PACKAGES = ${BUILD_PACKAGES} |
| 21 | 21 | ||
| 22 | FLAVORS= athena no_x11 | 22 | FLAVORS= athena motif no_x11 |
| 23 | FLAVOR?= athena | 23 | FLAVOR?= athena |
| 24 | 24 | ||
| 25 | GCCARCH= ${MACHINE_ARCH}-unknown-openbsd | 25 | GCCARCH= ${MACHINE_ARCH}-unknown-openbsd |
| @@ -52,9 +52,7 @@ CONFIGURE_ARGS+= --without-x | |||
| 52 | LIB_DEPENDS+= graphics/jpeg \ | 52 | LIB_DEPENDS+= graphics/jpeg \ |
| 53 | graphics/png \ | 53 | graphics/png \ |
| 54 | devel/gmp | 54 | devel/gmp |
| 55 | . if ${FLAVOR} == "athena" | ||
| 56 | CONFIGURE_ARGS+= --with-x \ | 55 | CONFIGURE_ARGS+= --with-x \ |
| 57 | --with-x-toolkit=athena \ | ||
| 58 | --with-xpm \ | 56 | --with-xpm \ |
| 59 | --with-jpeg \ | 57 | --with-jpeg \ |
| 60 | --with-png \ | 58 | --with-png \ |
| @@ -62,10 +60,20 @@ CONFIGURE_ARGS+= --with-x \ | |||
| 62 | --without-harfbuzz \ | 60 | --without-harfbuzz \ |
| 63 | --without-otf \ | 61 | --without-otf \ |
| 64 | --without-m17n-flt | 62 | --without-m17n-flt |
| 65 | LIB_DEPENDS+= x11/Xaw3d | 63 | |
| 66 | WANTLIB += ICE SM X11 X11-xcb Xaw3d Xext Xfixes Xinerama Xmu | 64 | |
| 65 | WANTLIB += ICE SM X11 X11-xcb Xext Xfixes Xinerama Xmu | ||
| 67 | WANTLIB += Xpm Xrandr Xrender Xt xcb fontconfig freetype | 66 | WANTLIB += Xpm Xrandr Xrender Xt xcb fontconfig freetype |
| 68 | WANTLIB += jpeg png gmp | 67 | WANTLIB += jpeg png gmp |
| 68 | |||
| 69 | . if ${FLAVOR} == "athena" | ||
| 70 | CONFIGURE_ARGS+= --with-x-toolkit=athena | ||
| 71 | LIB_DEPENDS+= x11/Xaw3d | ||
| 72 | WANTLIB += Xaw3d | ||
| 73 | . elif ${FLAVOR} == "motif" | ||
| 74 | CONFIGURE_ARGS+= --with-x-toolkit=motif | ||
| 75 | LIB_DEPENDS+= x11/motif | ||
| 76 | WANTLIB += Xm | ||
| 69 | . else | 77 | . else |
| 70 | ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}" | 78 | ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}" |
| 71 | . endif | 79 | . endif |
diff --git a/editors/emacs/pkg/PFRAG.motif b/editors/emacs/pkg/PFRAG.motif new file mode 100644 index 0000000..26ff4d2 --- /dev/null +++ b/editors/emacs/pkg/PFRAG.motif | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | @pkgpath editors/emacs22,-main, | ||
| 2 | @pkgpath editors/emacs23,-main,motif | ||
diff --git a/editors/emacs/pkg/PFRAG.no-no_x11 b/editors/emacs/pkg/PFRAG.no-no_x11 deleted file mode 100644 index 54337e4..0000000 --- a/editors/emacs/pkg/PFRAG.no-no_x11 +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | @pkgpath editors/emacs21,-main | ||
| 2 | share/applications/emacs-mail.desktop | ||
| 3 | share/applications/emacs.desktop | ||
| 4 | share/applications/emacsclient-mail.desktop | ||
| 5 | share/applications/emacsclient.desktop | ||
| 6 | share/icons/hicolor/128x128/apps/emacs.png | ||
| 7 | share/icons/hicolor/16x16/apps/emacs.png | ||
| 8 | share/icons/hicolor/24x24/apps/emacs.png | ||
| 9 | share/icons/hicolor/32x32/apps/emacs.png | ||
| 10 | share/icons/hicolor/48x48/apps/emacs.png | ||
| 11 | share/icons/hicolor/scalable/apps/emacs.ico | ||
| 12 | share/icons/hicolor/scalable/apps/emacs.svg | ||
| 13 | share/icons/hicolor/scalable/mimetypes/emacs-document.svg | ||
| 14 | share/icons/hicolor/scalable/mimetypes/emacs-document23.svg | ||
| 15 | @tag update-desktop-database | ||
| 16 | @tag gtk-update-icon-cache %D/share/icons/hicolor | ||
diff --git a/editors/emacs/pkg/PLIST b/editors/emacs/pkg/PLIST index 72875cc..54a0fb2 100644 --- a/editors/emacs/pkg/PLIST +++ b/editors/emacs/pkg/PLIST | |||
| @@ -4196,5 +4196,3 @@ share/icons/hicolor/scalable/mimetypes/emacs-document.svg | |||
| 4196 | share/icons/hicolor/scalable/mimetypes/emacs-document23.svg | 4196 | share/icons/hicolor/scalable/mimetypes/emacs-document23.svg |
| 4197 | share/metainfo/ | 4197 | share/metainfo/ |
| 4198 | share/metainfo/emacs.metainfo.xml | 4198 | share/metainfo/emacs.metainfo.xml |
| 4199 | @tag gtk-update-icon-cache %D/share/icons/hicolor | ||
| 4200 | @tag update-desktop-database | ||
