1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/deskutils/ljit/Makefile
2014-02-02 13:26:12 +00:00

42 lines
1.1 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= ljit
PORTVERSION= 0.2.5
PORTREVISION= 15
CATEGORIES= deskutils
MASTER_SITES= http://kir.vtx.ru/ljit/dl/ \
http://freebsd.nsu.ru/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI tool to help LiveJournal users post images
LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= gettext pkgconfig
USE_GNOME= gtk20
PLIST_FILES= bin/ljit share/locale/ru/LC_MESSAGES/ljit.mo
PORTDOCS= BUGS NEWS README THANKS TODO
OPTIONS_DEFINE= DOCS
post-extract:
@${REINPLACE_CMD} -e 's, -DMTRACE$$,, ; \
s,prefix)/$$(DATADIRNAME,datadir,' ${WRKSRC}/src/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/po/ru_RU.mo \
${STAGEDIR}${PREFIX}/share/locale/ru/LC_MESSAGES/${PORTNAME}.mo
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>