aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/import-pictures/Makefile
blob: 48db9cd1c16c8b4f98627835be2e199a55c7ea40 (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
# Created by: Alexander Kuehn
# $FreeBSD$

PORTNAME=   import-pictures
PORTVERSION=    1.4
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://www.nagilum.org/unix/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Utility to copy/move pictures from a directory

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \
        p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
        p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules

USES=       gmake perl5 shebangfix tar:bzip2
NO_ARCH=    yes

PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz

PORTDOCS=   import-pictures.html

SHEBANG_FILES=  ${WRKSRC}/${PORTNAME}
OPTIONS_DEFINE= DOCS

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>