mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
- Add LICENSE
- Add NO_ARCH - Simplify installation - Switch to options helpers - makeparch
This commit is contained in:
parent
5a1cfd05bb
commit
dbe356addc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456612
@ -10,6 +10,8 @@ MASTER_SITES= SF
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Themeable web picture album generator
|
||||
|
||||
LICENSE= GPLv2+
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/pnmscale:graphics/netpbm \
|
||||
${LOCALBASE}/bin/jhead:graphics/jhead \
|
||||
p5-HTML-Parser>=0:www/p5-HTML-Parser \
|
||||
@ -19,44 +21,18 @@ USES= jpeg:run perl5
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-themedir=${DATADIR}
|
||||
CONFIGURE_ENV= perl_path=${PERL}
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTDOCS= ChangeLog INSTALL README TO-DO VERSION cthumbrc.sample
|
||||
|
||||
THEMES= blue-steel.theme \
|
||||
classic-clips.theme \
|
||||
classic.theme \
|
||||
crosshair.theme \
|
||||
film.theme \
|
||||
flaps.theme \
|
||||
float-medium.theme \
|
||||
float-more.theme \
|
||||
float-thick.theme \
|
||||
float.theme \
|
||||
ithumb.theme \
|
||||
neat-round.theme \
|
||||
neat-square.theme \
|
||||
oak.theme \
|
||||
postcard.theme \
|
||||
shiny-tube.theme \
|
||||
simpleframe.theme \
|
||||
slides-big.theme \
|
||||
slides-clean.theme \
|
||||
slides-huge.theme \
|
||||
slides-small.theme \
|
||||
spotlight.theme \
|
||||
tv-large.theme \
|
||||
tv.theme
|
||||
PORTDOCS= BUGS ChangeLog README TO-DO cthumbrc.sample
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/cthumb ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
.for theme in ${THEMES}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/${theme}
|
||||
${INSTALL_DATA} ${WRKSRC}/themes/${theme}/* ${STAGEDIR}${DATADIR}/${theme}
|
||||
.endfor
|
||||
${INSTALL_MAN} ${WRKSRC}/cthumb.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
@cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Makefile.in.orig Sat Feb 14 17:17:57 2004
|
||||
+++ Makefile.in Sat Feb 14 17:19:04 2004
|
||||
@@ -13,25 +13,13 @@
|
||||
--- Makefile.in.orig 2002-08-13 17:24:05 UTC
|
||||
+++ Makefile.in
|
||||
@@ -13,13 +13,7 @@ bindir=@bindir@
|
||||
mandir=@mandir@
|
||||
themedir=@themedir@
|
||||
|
||||
@ -15,15 +15,16 @@
|
||||
|
||||
install: cthumb
|
||||
install -d $(bindir) $(prefix)/share $(themedir) $(mandir)/man1
|
||||
install -m555 cthumb $(bindir)
|
||||
@@ -27,12 +21,6 @@ install: cthumb
|
||||
install cthumb.1 $(mandir)/man1
|
||||
$(CPR) themes/* $(themedir)
|
||||
-
|
||||
|
||||
-Makefile: Makefile.in VERSION configure
|
||||
- ./configure --prefix=/usr
|
||||
-
|
||||
-cthumb: cthumb.in VERSION configure
|
||||
- ./configure --prefix=/usr
|
||||
|
||||
-
|
||||
dist: cthumb.spec cthumb
|
||||
# make prefix=$(shell pwd)/$(DD) install
|
||||
install -d $(DD)
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- configure.in.orig Tue Aug 13 21:24:05 2002
|
||||
+++ configure.in Tue Jan 27 18:41:42 2004
|
||||
@@ -8,7 +8,7 @@
|
||||
--- configure.in.orig 2002-08-13 17:24:05 UTC
|
||||
+++ configure.in
|
||||
@@ -8,7 +8,7 @@ AC_CANONICAL_HOST
|
||||
dnl Checks for programs.
|
||||
AC_PATH_PROGS(perl_path, perl5 perl, no)
|
||||
AC_PROG_INSTALL
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- cthumb.in.orig Tue Aug 13 21:24:05 2002
|
||||
+++ cthumb.in Tue Jan 27 15:56:20 2004
|
||||
@@ -476,6 +476,7 @@
|
||||
--- cthumb.in.orig 2002-08-13 17:24:05 UTC
|
||||
+++ cthumb.in
|
||||
@@ -476,6 +476,7 @@ sub initial_checks {
|
||||
if ($CheckThumbnails) {
|
||||
eval "require Image::Size";
|
||||
if (defined $Image::Size::VERSION) {
|
||||
@ -8,7 +8,7 @@
|
||||
$HaveImageSizePerlModule=1;
|
||||
}
|
||||
}
|
||||
@@ -579,7 +580,10 @@
|
||||
@@ -579,7 +580,10 @@ sub do_file {
|
||||
if ($NoMainIndex) {
|
||||
unlink($indextmp);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user