44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
|
# $NetBSD: Makefile,v 1.1.1.1 2011/10/20 14:10:51 ryo-on Exp $
|
||
|
#
|
||
|
|
||
|
DISTNAME= ttytter-1.2.02
|
||
|
CATEGORIES= net
|
||
|
MASTER_SITES= -http://www.floodgap.com/software/ttytter/dist1/1.2.02.txt
|
||
|
EXTRACT_SUFX=
|
||
|
|
||
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
||
|
HOMEPAGE= http://www.floodgap.com/software/ttytter/dist1/
|
||
|
COMMENT= Twitter client written in perl
|
||
|
#LICENSE= # The Floodgap Free Software License
|
||
|
|
||
|
PKG_DESTDIR_SUPPORT= user-destdir
|
||
|
|
||
|
WRKSRC= ${WRKDIR}
|
||
|
USE_LANGUAGES= # none
|
||
|
NO_BUILD= yes
|
||
|
|
||
|
DEPENDS+= curl-[0-9]*:../../www/curl
|
||
|
DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
|
||
|
DEPENDS+= p5-Term-ReadLine-Perl-[0-9]*:../../devel/p5-Term-ReadLine-Perl
|
||
|
|
||
|
REPLACE_PERL= ${PKGNAME_NOREV}
|
||
|
|
||
|
INSTALLATION_DIRS= share/${PKGNAME_NOREV} bin
|
||
|
|
||
|
SUBST_CLASSES+= tt
|
||
|
SUBST_STAGE.tt= pre-install
|
||
|
SUBST_MESSAGE.tt= Set path
|
||
|
SUBST_FILES.tt= ttytter.sh
|
||
|
SUBST_SED.tt= -e 's,@TT_PATH@,${PREFIX}/share/${PKGNAME_NOREV},g'
|
||
|
|
||
|
pre-configure:
|
||
|
${INSTALL_DATA} ${FILESDIR}/ttytter.sh ${WRKSRC}
|
||
|
|
||
|
do-install:
|
||
|
${INSTALL_SCRIPT} ${WRKSRC}/${PKGNAME_NOREV} \
|
||
|
${DESTDIR}${PREFIX}/share/${PKGNAME_NOREV}/ttytter
|
||
|
${INSTALL_SCRIPT} ${WRKSRC}/ttytter.sh \
|
||
|
${DESTDIR}${PREFIX}/bin/ttytter
|
||
|
|
||
|
.include "../../mk/bsd.pkg.mk"
|