- Add LICENSE

- Fix library installation

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-25 11:12:15 +00:00
parent ef99b64c62
commit d8bf0ca72f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395236

View file

@ -3,7 +3,7 @@
PORTNAME= gkrellmoon2
PORTVERSION= 0.6
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= astro
MASTER_SITES= SF/gkrellmoon/gkrellmoon/${PORTVERSION}
DISTNAME= gkrellmoon-${PORTVERSION}
@ -14,6 +14,9 @@ COMMENT= Moon clock plugin for Gkrellm2
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pkgconfig
USE_GNOME= gtk20
@ -23,7 +26,7 @@ OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
${INSTALL_DATA} ${WRKSRC}/gkrellmoon.so \
${INSTALL_LIB} ${WRKSRC}/gkrellmoon.so \
${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}