57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2018/01/01 21:18:17 adam Exp $
|
|
|
|
VERSION= 0.1
|
|
PKGNAME= line-purple-${VERSION}
|
|
PKGREVISION= 1
|
|
|
|
CATEGORIES= chat
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://altrepo.eu/git/purple-line/
|
|
COMMENT= LINE protocol plugin for libpurple (pidgin, finch)
|
|
|
|
# XXX archive is at a github-type site, but its name doesn't
|
|
# match "https://github.com/account", couldn't figure out
|
|
# pkgsrc GITHUB* vars to work for fetching
|
|
#ALTREPO_TAG= b330e2b07372d0aea0100ab5a75ba5a6961b475c
|
|
|
|
MASTER_SITES= ${HOMEPAGE:=repository/}
|
|
EXTRACT_SUFX= .zip
|
|
DISTNAME= archive
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
LICENSE= mit
|
|
|
|
WRKSRC= ${WRKDIR}/purple-line.git
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
USE_LANGUAGES= c++
|
|
|
|
INSTALLATION_DIRS= lib/purple-2 \
|
|
share/pixmaps/pidgin/protocols/16 \
|
|
share/pixmaps/pidgin/protocols/22 \
|
|
share/pixmaps/pidgin/protocols/48 \
|
|
share/pixmaps/pidgin/protocols/scalable \
|
|
share/doc/line-purple
|
|
|
|
PIDGIN_PROTO_DIR= ${DESTDIR}${PREFIX}/share/pixmaps/pidgin/protocols
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/libpurple && ${LIBTOOL} --mode=install \
|
|
${INSTALL_LIB} libline.la ${DESTDIR}${PREFIX}/lib/purple-2
|
|
for i in 16 22 48; do cd ${WRKSRC}/icons && \
|
|
${INSTALL_DATA} $$i/line.png ${PIDGIN_PROTO_DIR}/$$i; done
|
|
${INSTALL_DATA} ${WRKSRC}/icons/scalable/line.svg \
|
|
${DESTDIR}${PREFIX}/share/pixmaps/pidgin/protocols/scalable
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/line-purple
|
|
|
|
.include "../../chat/libpurple/buildlink3.mk"
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
.include "../../devel/libidn/buildlink3.mk"
|
|
.include "../../devel/libthrift/buildlink3.mk"
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|