freebsd-ports/devel/qt4-qtsolutions-singleapplication/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

38 lines
1.2 KiB
Makefile

# Created by: Yuri Momotiuk <yurkis@gmail.com>
# $FreeBSD$
PORTNAME= qt4-qtsolutions-singleapplication
PORTVERSION= 20110722
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.pcbsd.org/pub/software/ \
http://www.pcbsd.org/~kris/software/
DISTNAME= qt4-qtsolutions-singleinstance-${PORTVERSION}
MAINTAINER= yurkis@gmail.com
COMMENT= Qt 4 Solutions Single Application Framework
USES= qmake qt:4
USE_QT?= moc_build rcc_build uic_build gui network
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/qt-solutions-qt-solutions/${SUB_PROJECT_NAME}
BUILD_WRKSRC= ${WRKSRC}/buildlib
CONFIGURE_WRKSRC= ${BUILD_WRKSRC}
PLIST_FILES= ${LIBRARY_HEADERS:S,^,include/,} \
lib/${LIBRARY_NAME} \
lib/${LIBRARY_NAME}.1
SUB_PROJECT_NAME=qtsingleapplication
LIBRARY_NAME= libQtSolutions_SingleApplication-head.so
LIBRARY_HEADERS= qtsingleapplication.h qtsinglecoreapplication.h
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${LIBRARY_HEADERS:S,^,${WRKSRC}/src/,} ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/lib/${LIBRARY_NAME}.1.0.0 ${STAGEDIR}${PREFIX}/lib/${LIBRARY_NAME}.1
${LN} -sf ${LIBRARY_NAME}.1 ${STAGEDIR}${PREFIX}/lib/${LIBRARY_NAME}
.include <bsd.port.mk>