mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
edc0b0cda9
- Trim comment - drop abi version for lib-depends - adoption of USES=shared-mime-info - cleanup reinplace_cmd - standardize formatting in pkg-descr by using a space over tab PR: 178019 Approved by: admin@mjbrune.org, maintainer timeout (17 days)
36 lines
898 B
Makefile
36 lines
898 B
Makefile
# Created by: admin@mjbrune.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= textroom
|
|
PORTVERSION= 0.8.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= editors
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= admin@mjbrune.org
|
|
COMMENT= Full screen text editor
|
|
|
|
LIB_DEPENDS= hunspell-1.3:${PORTSDIR}/textproc/hunspell \
|
|
xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \
|
|
curl.6:${PORTSDIR}/ftp/curl
|
|
|
|
USES= shared-mime-info
|
|
USE_SDL= mixer
|
|
USE_QT4= moc_build qmake_build rcc_build uic_build corelib gui xml \
|
|
svg opengl qt3support
|
|
QMAKE_ARGS= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
|
|
HAS_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
|
|
${WRKSRC}/application/src/textroom.cpp \
|
|
${WRKSRC}/application/src/getaword.cpp \
|
|
${WRKSRC}/application/src/optionsdialog.cpp
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
|
${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} textroom.pro
|
|
|
|
.include <bsd.port.mk>
|