- Honor X11BASE [1]

- Use DATADIR macro
- Respect NOPORTDOCS
- Use PORTDOCS

PR:		ports/87901 [1]
Submitted by:	maintainer [1]
Requested by:	kris [1]
This commit is contained in:
Renato Botelho 2005-10-25 09:01:33 +00:00
parent 48f550240c
commit 3278324d91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146308
2 changed files with 24 additions and 37 deletions

View file

@ -13,12 +13,25 @@ MASTER_SITES= http://www.usermode.org/code/
MAINTAINER= david@usermode.org
COMMENT= A homebrewer's recipe calculator
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_QT_VER= 3
PORTDOCS= *
QT_NONSTANDARD= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib
.include <bsd.port.pre.mk>
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -E 's,^(SUBDIRS = .*) docs,\1,' \
${WRKSRC}/Makefile.in
.endif
post-install:
${STRIP_CMD} ${PREFIX}/bin/qbrew
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -1,37 +1,11 @@
bin/qbrew
share/doc/qbrew/en/primer-design.html
share/doc/qbrew/en/primer-equipment.html
share/doc/qbrew/en/primer-firstbrew.html
share/doc/qbrew/en/primer-glossary.html
share/doc/qbrew/en/primer-mashing.html
share/doc/qbrew/en/primer-recipes.html
share/doc/qbrew/en/primer.html
share/doc/qbrew/en/qbrew-changes.html
share/doc/qbrew/en/qbrew-commandline.html
share/doc/qbrew/en/qbrew-configuration.html
share/doc/qbrew/en/qbrew-copyright.html
share/doc/qbrew/en/qbrew-credits.html
share/doc/qbrew/en/qbrew-faq.html
share/doc/qbrew/en/qbrew-handbook.html
share/doc/qbrew/en/qbrew-hop.html
share/doc/qbrew/en/qbrew-install.html
share/doc/qbrew/en/qbrew-intro.html
share/doc/qbrew/en/qbrew-misc.html
share/doc/qbrew/en/qbrew-notes.html
share/doc/qbrew/en/qbrew-reference.html
share/doc/qbrew/en/qbrew-using.html
share/doc/qbrew/en/qbrew.docbook
share/doc/qbrew/en/qbrew.xsl
share/doc/qbrew/en/sqa.html
share/qbrew/ChangeLog
share/qbrew/LICENSE
share/qbrew/README
share/qbrew/paleale.qbrew
share/qbrew/qbrew.png
share/qbrew/qbrew.svg
share/qbrew/qbrewdata
share/qbrew/splash.png
share/qbrew/stout.qbrew
@dirrm share/qbrew
@dirrm share/doc/qbrew/en
@dirrm share/doc/qbrew
%%DATADIR%%/ChangeLog
%%DATADIR%%/LICENSE
%%DATADIR%%/README
%%DATADIR%%/paleale.qbrew
%%DATADIR%%/qbrew.png
%%DATADIR%%/qbrew.svg
%%DATADIR%%/qbrewdata
%%DATADIR%%/splash.png
%%DATADIR%%/stout.qbrew
@dirrm %%DATADIR%%