aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/torrentzip/Makefile
blob: 8840a4a300379e51f95ea938bd9553aa42009f3f (plain) (blame)
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
35
36
37
38
39
# New ports collection makefile for:    torrentzip
# Date created:         May 2, 2005
# Whom:                 swhetzel@gmail.com
#
# $FreeBSD$
#

PORTNAME=   torrentzip
PORTVERSION=    0.2
PORTREVISION=   1
CATEGORIES= archivers
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= trrntzip
DISTNAME=   trrntzip_v${PORTVERSION:S/.//}_src

MAINTAINER= swhetzel@gmail.com
COMMENT=    Efficient way to prepare zipfiles for BitTorrent

USE_AUTOTOOLS=  automake:19 autoheader:259
AUTOMAKE_ARGS=      -a

WRKSRC=     ${WRKDIR}/trrntzip

PLIST_FILES=    bin/trrntzip
PORTDOCS=   README

run-autotools:
    (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} ${ACLOCAL_ARGS})
    (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOHEADER} ${AUTOHEADER_ARGS})
    (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} ${AUTOCONF_ARGS})
    (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} ${AUTOMAKE_ARGS})

.if !defined(NOPORTDOCS)
pre-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif

.include <bsd.port.mk>