mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Add LICENSE (GPLv2)
- Remove CPPFLAGS assignment from CONFIGURE_ENV - Optimize away `.for .. .endfor' loop in Makefile - Wrap lines that exceeded 80 character per line limit - Remove pkg-plist (use PLIST_FILES and PORTDOCS instead) - Drop maintainership
This commit is contained in:
parent
b4301d8ad9
commit
e41f210c9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280976
@ -12,29 +12,34 @@ CATEGORIES= deskutils
|
||||
MASTER_SITES= http://kir.vtx.ru/ljit/dl/ \
|
||||
http://freebsd.nsu.ru/distfiles/
|
||||
|
||||
MAINTAINER= danfe@FreeBSD.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= GUI tool to help LiveJournal users post images
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
|
||||
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
||||
CPPFLAGS= -I${LOCALBASE}/include
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
USE_GETTEXT= yes
|
||||
USE_GNOME= gtk20
|
||||
|
||||
PLIST_FILES= bin/ljit share/locale/ru/LC_MESSAGES/ljit.mo
|
||||
PORTDOCS= BUGS NEWS README THANKS TODO
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's, -DMTRACE$$,,' -e 's,prefix)/$$(DATADIRNAME,datadir,' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's, -DMTRACE$$,, ; \
|
||||
s,prefix)/$$(DATADIRNAME,datadir,' ${WRKSRC}/src/Makefile.in
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/po/ru_RU.mo ${PREFIX}/share/locale/ru/LC_MESSAGES/${PORTNAME}.mo
|
||||
${INSTALL_DATA} ${WRKSRC}/po/ru_RU.mo \
|
||||
${PREFIX}/share/locale/ru/LC_MESSAGES/${PORTNAME}.mo
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
. for f in BUGS NEWS README THANKS TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
. endfor
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,8 +0,0 @@
|
||||
bin/ljit
|
||||
share/locale/ru/LC_MESSAGES/ljit.mo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/BUGS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/THANKS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user