summaryrefslogtreecommitdiff
path: root/editors/xvile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-07 20:55:37 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-07 20:55:37 +0000
commit92cac4fdab691a54373fa0e1a1ad120387f0a54a (patch)
tree33d7c35d716ebf2d196eb63e1de3d9bbdd482ad7 /editors/xvile
parent- update to version 1.6.5 (diff)
Stage support
Notes
Notes: svn path=/head/; revision=339035
Diffstat (limited to 'editors/xvile')
-rw-r--r--editors/xvile/Makefile17
-rw-r--r--editors/xvile/pkg-plist1
2 files changed, 8 insertions, 10 deletions
diff --git a/editors/xvile/Makefile b/editors/xvile/Makefile
index 374c13fca66b..2a4f10a520b2 100644
--- a/editors/xvile/Makefile
+++ b/editors/xvile/Makefile
@@ -27,7 +27,7 @@ XAW_DESC= X Athena Widgets
XAW3D_DESC= X Athena Widgets with 3D effect
USES= pkgconfig shebangfix
-SHEBANG_FILES= perl/vileget
+SHEBANG_FILES= macros/lxvile macros/lxvile-fonts perl/vileget
USE_XORG= x11 xext xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-imake \
@@ -38,11 +38,8 @@ MAKEFILE= makefile
DATADIR= ${PREFIX}/share/vile
-MAN1= xvile.1
-
CONFLICTS_INSTALL= vile-[0-9]*
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFILTERS}
@@ -98,13 +95,13 @@ post-patch:
's|defined(FLEX_BETA)|0|' ${WRKSRC}/filters/filters.h
post-install:
- @${MKDIR} ${DATADIR}/macros
- (cd ${WRKSRC}/macros && ${INSTALL_DATA} *.rc ${DATADIR}/macros)
- @${MKDIR} ${DESKTOPDIR}
- (cd ${WRKSRC}/macros && ${INSTALL_DATA} *.desktop ${DESKTOPDIR})
+ @${MKDIR} ${STAGEDIR}${DATADIR}/macros
+ ${INSTALL_DATA} ${WRKSRC}/macros/*.rc ${STAGEDIR}${DATADIR}/macros
+ @${MKDIR} ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/macros/*.desktop ${STAGEDIR}${DESKTOPDIR}
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.doc ${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/editors/xvile/pkg-plist b/editors/xvile/pkg-plist
index 13c70aec5cf5..bfbcaed735e4 100644
--- a/editors/xvile/pkg-plist
+++ b/editors/xvile/pkg-plist
@@ -88,6 +88,7 @@ lib/vile/vile-xq-filt%%SO_EXT%%
lib/vile/vile-xres-filt%%SO_EXT%%
lib/vile/vile-xs-filt%%SO_EXT%%
lib/vile/vile-yacc-filt%%SO_EXT%%
+man/man1/xvile.1.gz
share/applications/lxvile.desktop
share/applications/uxvile.desktop
share/applications/xvile.desktop