- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
4ceeeb7b13
commit
1db43fae92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397811
1 changed files with 4 additions and 6 deletions
|
@ -32,13 +32,7 @@ DBUS_USE= QT4=dbus
|
|||
|
||||
DEBUG_QMAKE_ON= CONFIG+=debug
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ! ${PORT_OPTIONS:MNLS}
|
||||
@${REINPLACE_CMD} -e '/INSTALLS += translations/d' \
|
||||
${WRKSRC}/${PORTNAME}.pro
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
|
||||
-e 's|lupdate|lupdate-qt4|' \
|
||||
-e 's|lrelease|lrelease-qt4|' \
|
||||
|
@ -46,4 +40,8 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
|
||||
${WRKSRC}/src/notifications_dbus.cpp
|
||||
|
||||
post-patch-NLS-off:
|
||||
@${REINPLACE_CMD} -e '/INSTALLS += translations/d' \
|
||||
${WRKSRC}/${PORTNAME}.pro
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue