summaryrefslogtreecommitdiff
path: root/net/polsms/Makefile
blob: 2fa4901c6381b71ff0a0aa6f4d76d718d1606361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.34 2012/03/03 00:13:47 wiz Exp $
#

DISTNAME=	sms-2.0.3
PKGNAME=	pol${DISTNAME}
PKGREVISION=	8
CATEGORIES=	net
MASTER_SITES=	http://www.ceti.pl/~miki/komputery/download/sms/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.ceti.pl/~miki/komputery/sms.html
COMMENT=	Send SMS to cellular phones in Poland (Plus, Idea, Era)

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	c++
USE_TOOLS+=	gmake

INSTALLATION_DIRS=	bin share/sms/contrib share/sms/doc

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sms ${DESTDIR}${PREFIX}/bin
	${LN} -sf sms ${DESTDIR}${PREFIX}/bin/smsaddr
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/sms/doc
	${INSTALL_DATA} ${WRKSRC}/README.smsrc ${DESTDIR}${PREFIX}/share/sms/doc
	${INSTALL_DATA} ${WRKSRC}/doc/readme.html ${DESTDIR}${PREFIX}/share/sms/doc
	${INSTALL_DATA} ${WRKSRC}/contrib/mimecut ${DESTDIR}${PREFIX}/share/sms/contrib
	${INSTALL_DATA} ${WRKSRC}/contrib/procmailrc ${DESTDIR}${PREFIX}/share/sms/contrib

.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/pcre++/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"