diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2021-12-20 14:40:07 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-12-20 14:41:37 +0900 |
commit | 823697cbe7e54b611a089d49eadb871cc0e24c99 (patch) | |
tree | f1f4caa26e6cdbc8411e3f1e6de5684250121929 /editors/xvile/Makefile | |
parent | editors/vile: update to 9.8v (diff) |
editors/xvile: update to 9.8v
While here, remove CONFLICTS_INSTALL. In 9.8v, the sources include
updated makefiles which make the two ports nonconflicting. That is
done by using sed-scripts within the makefiles to rename files owned
by xvile (along with some updates to the latter's plist file).
Changelog: https://invisible-island.net/vile/CHANGES.html#v9_8v
PR: 260382
Reported by: Thomas E. Dickey <dickey@invisible-island.net> (maintainer)
Diffstat (limited to 'editors/xvile/Makefile')
-rw-r--r-- | editors/xvile/Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/editors/xvile/Makefile b/editors/xvile/Makefile index 938e2b326461..81840e2ecb42 100644 --- a/editors/xvile/Makefile +++ b/editors/xvile/Makefile @@ -1,10 +1,9 @@ # Created by: pgf PORTNAME= vile -PORTVERSION= 9.8u +PORTVERSION= 9.8v CATEGORIES= editors -MASTER_SITES= ftp://dickey.his.com/vile/current/ \ - ftp://ftp.invisible-island.net/vile/current/ \ +MASTER_SITES= ftp://ftp.invisible-island.net/pub/vile/current/ \ https://invisible-mirror.net/archives/vile/current/ PKGNAMEPREFIX= x @@ -29,13 +28,14 @@ CONFIGURE_ARGS= --disable-imake \ --enable-fontset \ --with-icon-theme \ --with-xpm \ + --datarootdir=${PREFIX}/share/xvile \ --with-icondir=${PREFIX}/share/icons \ - --with-pixmapdir=${PREFIX}/share/pixmaps + --with-libdir-path=${PREFIX}/lib/xvile \ + --with-pixmapdir=${PREFIX}/share/pixmaps \ + --with-startup-path=${PREFIX}/share/xvile MAKEFILE= makefile INSTALL_TARGET= install install-doc install-html -CONFLICTS_INSTALL= vile - OPTIONS_DEFINE= DOCS FILTERS ICONV PERL OPTIONS_RADIO= MENUS OPTIONS_RADIO_MENUS= MOTIF XAW XAW3D @@ -62,6 +62,10 @@ XAW3D_CONFIGURE_ON= --enable-colored-menus \ --with-Xaw3d \ --with-screen=xaw3d +# fixes to make this not conflict with the "vile" port +DATADIR= ${PREFIX}/share/xvile +DOCSDIR= ${PREFIX}/share/doc/xvile + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MFILTERS} @@ -76,10 +80,17 @@ CONFIGURE_ARGS+= --with-screen=x11 post-patch: @${REINPLACE_CMD} -e \ - 's|$$(datadir)/doc|@datadir@/doc/vile| ; \ + 's|$$(datadir)/doc|@prefix@/share/doc/xvile| ; \ + s|^\(datadir[ ]*=[ ]*\)@datadir@.*|\1@datarootdir@| ; \ + s|@datadir@/doc/vile|@datarootdir@/doc/xvile| ; \ s|$$(datadir)/html|$$(docdir)/html| ; \ + s|$$(datadir)/perl|@datadir@/perl| ; \ + s|$$(BINDIR)/vileget|$$(BINDIR)/xvileget| ; \ s|\($$(DOCDIR)\) \($$(MANDIR)\)|\1 $$(HTMLDIR) \2|' \ ${WRKSRC}/makefile.in + @${REINPLACE_CMD} -e \ + 's|^\(datadir[ ]*=[ ]*\)@datadir@.*|\1@datarootdir@|' \ + ${WRKSRC}/filters/makefile.in post-install: (cd ${WRKSRC}/macros && ${INSTALL_DATA} *.desktop \ |