aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm95-i18n
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/fvwm95-i18n')
-rw-r--r--x11-wm/fvwm95-i18n/Makefile9
-rw-r--r--x11-wm/fvwm95-i18n/files/patch-ak2
-rw-r--r--x11-wm/fvwm95-i18n/pkg-plist4
3 files changed, 7 insertions, 8 deletions
diff --git a/x11-wm/fvwm95-i18n/Makefile b/x11-wm/fvwm95-i18n/Makefile
index cfc32cce32aa..efaea9ba5e60 100644
--- a/x11-wm/fvwm95-i18n/Makefile
+++ b/x11-wm/fvwm95-i18n/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fvwm95-i18n
PORTVERSION= 2.0.43a
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fvwm95
@@ -38,7 +39,7 @@ MAN1= fvwm95.1 xpmroot.1 FvwmAudio.1 FvwmAuto.1 FvwmBacker.1 FvwmBanner.1 \
FvwmSave.1 FvwmSaveDesk.1 FvwmScroll.1 FvwmTalk.1 FvwmTaskBar.1 \
FvwmWinList.1
-SAMPLEDIR= ${PREFIX}/share/examples/fvwm95
+EXAMPLESDIR= ${PREFIX}/share/examples/fvwm95
KITDIR= ${WRKDIR}/${PKGNAME}-portKit
OPTIONS= APM "Build APM support (i386 only)" off
@@ -64,10 +65,8 @@ post-patch:
post-install:
@(cd ${WRKSRC} ; ${MAKE} install.man)
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${SAMPLEDIR}
- @${INSTALL_DATA} ${WRKSRC}/example.fvwm95rc ${SAMPLEDIR}
-.endif
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/example.fvwm95rc ${EXAMPLESDIR}
@${MKDIR} ${PREFIX}/lib/X11/fvwm95/ja_JP.EUC
@${INSTALL_DATA} ${KITDIR}/system.fvwm95rc.jp \
${PREFIX}/lib/X11/fvwm95/ja_JP.EUC/system.fvwm95rc
diff --git a/x11-wm/fvwm95-i18n/files/patch-ak b/x11-wm/fvwm95-i18n/files/patch-ak
index 7aadddd783cf..deaef774fa76 100644
--- a/x11-wm/fvwm95-i18n/files/patch-ak
+++ b/x11-wm/fvwm95-i18n/files/patch-ak
@@ -20,7 +20,7 @@ diff -urN ../fvwm95-2.0.43a-Autoconf.orig/modules/FvwmAudio/Makefile.in ./module
EXTRA_DEFINES=-DXPM -DSHAPE
CC=@CC@
-INCLUDES=-I${top_srcdir}/include ${x_includes}
-+INCLUDES=-I${top_srcdir}/include ${x_includes} ${includedir}
++INCLUDES=-I${top_srcdir}/include ${x_includes} -I${includedir}
CFLAGS=${INCLUDES} @CFLAGS@ ${EXTRA_DEFINES}
MAKEDEPEND=@MAKEDEPEND@
INSTALL=@INSTALL@
diff --git a/x11-wm/fvwm95-i18n/pkg-plist b/x11-wm/fvwm95-i18n/pkg-plist
index 6e139dee98dd..e9914ad07bbc 100644
--- a/x11-wm/fvwm95-i18n/pkg-plist
+++ b/x11-wm/fvwm95-i18n/pkg-plist
@@ -243,8 +243,8 @@ lib/X11/fvwm95/pixmaps/xterm-sun.xpm
lib/X11/fvwm95/pixmaps/xterm.xpm
lib/X11/fvwm95/pixmaps/xv.xpm
lib/X11/fvwm95/pixmaps/xview.xpm
-share/examples/fvwm95/example.fvwm95rc
+%%EXAMPLESDIR%%/example.fvwm95rc
@dirrm lib/X11/fvwm95/pixmaps
@dirrm lib/X11/fvwm95/ja_JP.EUC
@dirrm lib/X11/fvwm95
-@dirrm share/examples/fvwm95
+@dirrm %%EXAMPLESDIR%%