freebsd-ports/polish/qfaktury/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

29 lines
661 B
Makefile

# Created by: Piotr Rybicki (meritus@innervision.pl)
# $FreeBSD$
PORTNAME= qfaktury
PORTVERSION= 0.6.2
PORTREVISION= 2
CATEGORIES= polish deskutils
MASTER_SITES= SF
MAINTAINER= meritus@innervision.pl
COMMENT= Polish invoicing desktop program
USES= qmake qt:4
USE_QT= uic_build moc_build rcc_build corelib gui xml qt3support
PORTDOCS= ChangeLog.txt ReadMe.txt ReleaseNotes.txt TODO.txt
OPTIONS_DEFINE= DOCS
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' qfaktury.pro \
QFaktury.desktop
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>