aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-08 04:55:37 +0800
committerantoine <antoine@FreeBSD.org>2014-01-08 04:55:37 +0800
commitf8da0165f6eb2cfa3955493a1b1cca78d55e828b (patch)
tree33d7c35d716ebf2d196eb63e1de3d9bbdd482ad7 /editors
parent4594a355f01002a66cfc153c38b9bbe326c7ba4a (diff)
downloadfreebsd-ports-gnome-f8da0165f6eb2cfa3955493a1b1cca78d55e828b.tar.gz
freebsd-ports-gnome-f8da0165f6eb2cfa3955493a1b1cca78d55e828b.tar.zst
freebsd-ports-gnome-f8da0165f6eb2cfa3955493a1b1cca78d55e828b.zip
Stage support
Diffstat (limited to 'editors')
-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