3024fd61f1
- Update WWW - Current maintainer doesn't have access to FreeBSD desktop box ATB, so pass maintainership to submitter PR: 130725 Submitted by: Shane Bell <decept0 at gmail dot com> Approved by: Andy Fawcett <andy at athame dot co dot uk> (maintainer)
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: arora
|
|
# Date created: 08 Aug 2008
|
|
# Whom: Andy Fawcett <andy@athame.co.uk>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arora
|
|
PORTVERSION= 0.4
|
|
CATEGORIES= www
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= decept0@gmail.com
|
|
COMMENT= Simple Qt4 based browser
|
|
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= network webkit qmake_build moc_build uic_build rcc_build \
|
|
imageformats gui
|
|
HAS_CONFIGURE= yes
|
|
QMAKE_ARGS+= -unix -recursive PREFIX=${PREFIX}
|
|
|
|
MAN1= arora.1
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
QT_COMPONENTS+= linguist_build
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
do-configure:
|
|
.if defined(WITHOUT_NLS)
|
|
@${REINPLACE_CMD} -e "/INSTALLS/s|translations||" \
|
|
${WRKSRC}/src/src.pro
|
|
@${REINPLACE_CMD} -e "/PRE_TARGETDEPS/s|compiler_updateqm_make_all||" \
|
|
${WRKSRC}/src/locale/locale.pri
|
|
.endif
|
|
@${REINPLACE_CMD} -e "/INSTALLS/s|man man-compress||" \
|
|
${WRKSRC}/src/src.pro
|
|
@${REINPLACE_CMD} -e "/else/s|lrelease|lrelease-qt4|" \
|
|
${WRKSRC}/src/locale/locale.pri
|
|
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS}
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} -e \
|
|
's|^CC .*|CC=${CC}|; s|^CXX .*|CXX=${CXX}|; s|^LINK .*|LINK=${CXX}|' \
|
|
${WRKSRC}/src/Makefile
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/src/data/arora.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|