1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/editors/textroom/Makefile
Pawel Pekala 8c52780491 - Fix build on -current
- Support desktop-file-utils
- Strip textroom binary

PR:		ports/184893
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-21 11:19:14 +00:00

35 lines
772 B
Makefile

# Created by: admin@mjbrune.org
# $FreeBSD$
PORTNAME= textroom
PORTVERSION= 0.8.2
PORTREVISION= 5
CATEGORIES= editors
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Full screen text editor
LICENSE= GPLv3
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26
USES= desktop-file-utils pkgconfig qmake
USE_GL= gl
USE_SDL= mixer
USE_QT4= moc_build rcc_build uic_build \
corelib gui opengl qt3support svg xml
post-patch:
.for i in getaword.cpp optionsdialog.cpp textroom.cpp
@${REINPLACE_CMD} -e \
's|/usr/share|${PREFIX}/share|' ${WRKSRC}/application/src/${i}
.endfor
post-install:
@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/textroom
.include <bsd.port.mk>