- Fix plist for NOPORTDOCS case
- While here, use %%DATADIR%% macros in the plist Reported by: QAT
This commit is contained in:
parent
509e23f218
commit
682b9842a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219096
2 changed files with 39 additions and 35 deletions
|
@ -19,10 +19,14 @@ GNU_CONFIGURE= yes
|
|||
USE_SDL= sdl mixer
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
||||
PLIST_SUB= DOCDIR=share/doc/${PORTNAME}
|
||||
|
||||
NOT_FOR_ARCHS= sparc64
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^docs_DOCS = |nono&|' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \
|
||||
${WRKSRC}/openglad.cfg
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
bin/openglad
|
||||
bin/openscen
|
||||
%%PORTDOCS%%%%DOCDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCDIR%%/README
|
||||
%%PORTDOCS%%%%DOCDIR%%/cheats.txt
|
||||
%%PORTDOCS%%%%DOCDIR%%/release-notes.txt
|
||||
%%PORTDOCS%%%%DOCDIR%%/scen.txt
|
||||
share/openglad/glad.hlp
|
||||
share/openglad/graphics.001
|
||||
share/openglad/levels.001
|
||||
share/openglad/openglad.cfg
|
||||
share/openglad/sound/blast1.wav
|
||||
share/openglad/sound/bolt1.wav
|
||||
share/openglad/sound/boom.wav
|
||||
share/openglad/sound/charge.wav
|
||||
share/openglad/sound/clang.wav
|
||||
share/openglad/sound/die1.wav
|
||||
share/openglad/sound/die2.wav
|
||||
share/openglad/sound/eat.wav
|
||||
share/openglad/sound/explode1.wav
|
||||
share/openglad/sound/faerie1.wav
|
||||
share/openglad/sound/fwip.wav
|
||||
share/openglad/sound/heal1.wav
|
||||
share/openglad/sound/money.wav
|
||||
share/openglad/sound/roar.wav
|
||||
share/openglad/sound/teleport.wav
|
||||
share/openglad/sound/twang.wav
|
||||
share/openglad/sound/yo.wav
|
||||
share/openglad/start.tex
|
||||
@dirrm share/openglad/sound
|
||||
@dirrm share/openglad
|
||||
%%PORTDOCS%%@dirrm %%DOCDIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cheats.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/release-notes.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/scen.txt
|
||||
%%DATADIR%%/glad.hlp
|
||||
%%DATADIR%%/graphics.001
|
||||
%%DATADIR%%/levels.001
|
||||
%%DATADIR%%/openglad.cfg
|
||||
%%DATADIR%%/sound/blast1.wav
|
||||
%%DATADIR%%/sound/bolt1.wav
|
||||
%%DATADIR%%/sound/boom.wav
|
||||
%%DATADIR%%/sound/charge.wav
|
||||
%%DATADIR%%/sound/clang.wav
|
||||
%%DATADIR%%/sound/die1.wav
|
||||
%%DATADIR%%/sound/die2.wav
|
||||
%%DATADIR%%/sound/eat.wav
|
||||
%%DATADIR%%/sound/explode1.wav
|
||||
%%DATADIR%%/sound/faerie1.wav
|
||||
%%DATADIR%%/sound/fwip.wav
|
||||
%%DATADIR%%/sound/heal1.wav
|
||||
%%DATADIR%%/sound/money.wav
|
||||
%%DATADIR%%/sound/roar.wav
|
||||
%%DATADIR%%/sound/teleport.wav
|
||||
%%DATADIR%%/sound/twang.wav
|
||||
%%DATADIR%%/sound/yo.wav
|
||||
%%DATADIR%%/start.tex
|
||||
@dirrm %%DATADIR%%/sound
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Reference in a new issue