2001-08-18 11:07:51 +02:00
|
|
|
# New ports collection makefile for: cthumb
|
|
|
|
# Date created: 30 July 2001
|
|
|
|
# Whom: dom@happygiraffe.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cthumb
|
2002-03-24 05:49:14 +01:00
|
|
|
PORTVERSION= 4.1
|
2001-08-18 11:07:51 +02:00
|
|
|
CATEGORIES= graphics www
|
|
|
|
MASTER_SITES= http://puchol.com/cpg/software/cthumb/
|
|
|
|
|
|
|
|
MAINTAINER= dom@happygiraffe.net
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= cthumb - a themable web picture album generator
|
2001-08-18 11:07:51 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/pnmscale:${PORTSDIR}/graphics/netpbm \
|
|
|
|
${LOCALBASE}/bin/djpeg:${PORTSDIR}/graphics/jpeg \
|
|
|
|
${SITE_PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
|
|
|
|
${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI
|
|
|
|
|
2003-10-24 14:05:09 +02:00
|
|
|
SITE_PERL_ARCH= ${SITE_PERL}/${PERL_ARCH}
|
2001-08-18 11:07:51 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-03-24 05:49:14 +01:00
|
|
|
CONFIGURE_ARGS= --with-themedir=${PREFIX}/share/${PORTNAME}
|
2001-08-18 11:07:51 +02:00
|
|
|
|
|
|
|
MAN1= cthumb.1
|
|
|
|
|
|
|
|
THEMES= blue-steel.theme \
|
|
|
|
classic-clips.theme \
|
|
|
|
classic.theme \
|
|
|
|
crosshair.theme \
|
|
|
|
film.theme \
|
2001-12-13 11:04:13 +01:00
|
|
|
flaps.theme \
|
2001-08-18 11:07:51 +02:00
|
|
|
float-medium.theme \
|
|
|
|
float-more.theme \
|
|
|
|
float-thick.theme \
|
|
|
|
float.theme \
|
2001-12-13 11:04:13 +01:00
|
|
|
ithumb.theme \
|
2001-08-18 11:07:51 +02:00
|
|
|
neat-round.theme \
|
|
|
|
neat-square.theme \
|
2001-12-13 11:04:13 +01:00
|
|
|
oak.theme \
|
2001-08-18 11:07:51 +02:00
|
|
|
postcard.theme \
|
|
|
|
shiny-tube.theme \
|
|
|
|
simpleframe.theme \
|
|
|
|
slides-big.theme \
|
|
|
|
slides-clean.theme \
|
|
|
|
slides-huge.theme \
|
|
|
|
slides-small.theme \
|
2001-12-13 11:04:13 +01:00
|
|
|
spotlight.theme \
|
2001-08-18 11:07:51 +02:00
|
|
|
tv-large.theme \
|
|
|
|
tv.theme
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${PERL} -pi \
|
2002-03-24 05:49:14 +01:00
|
|
|
-e 's|cp -r|cp -Rf|g;' \
|
2001-08-18 11:07:51 +02:00
|
|
|
${WRKSRC}/cthumb
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${PREFIX}/man/man1
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
.for theme in ${THEMES}
|
|
|
|
${MKDIR} ${DATADIR}/${theme}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${DATADIR}/${theme}
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPRTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for doc in ChangeLog INSTALL README TO-DO VERSION cthumbrc.sample
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|