mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
0af246cd12
. remove the indefinite article from COMMENT; . USE_GMAKE -> USES=gmake; . remove useless PORTEPOCH=0; . install ports docs to standard DOCSDIR + bump PORTREVISION for this; . use options for DOCS.
33 lines
813 B
Makefile
33 lines
813 B
Makefile
# Created by: Alan Eldridge <alane@geeksrus.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tinyq
|
|
PORTVERSION= 3.0.6
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel kde
|
|
MASTER_SITES= http://www.uwyn.com/download/tinyq/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Stripped down version of Qt 3 for use as a utility library
|
|
|
|
USES= gmake
|
|
USE_BZIP2= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=-thread -stl -prefix ${PREFIX}/tinyq -docdir ${DOCSDIR}
|
|
CONFIGURE_ENV+= QTDIR="${WRKSRC}"
|
|
MAKE_ENV+= QTDIR="${WRKSRC}" INSTALL_ROOT="${STAGEDIR}"
|
|
REINPLACE_ARGS= -i ''
|
|
|
|
PORT_OPTIONS= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
|
|
-e 's|gcc|${CC}|' \
|
|
-e 's|g++|${CXX}|' \
|
|
-e 's|/usr/local|${LOCALBASE}|' \
|
|
-e 's|/usr/X11R6|${LOCALBASE}|' \
|
|
-e 's|release|release thread|' \
|
|
${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
|
|
|
|
.include <bsd.port.mk>
|