1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Fixed wrong PORTVERSION.

- Bump PORTEPOCH.
- Now use NOPORTDOCS.

Reported by:	itetcu (via #bsdports)
This commit is contained in:
Marcelo Araujo 2008-11-26 20:03:02 +00:00
parent 9c0fcef425
commit 04efb5ec1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223417
2 changed files with 24 additions and 9 deletions

View File

@ -6,12 +6,13 @@
#
PORTNAME= Apache-Gallery
PORTVERSION= 1.0RC3
PORTREVISION= 1
PORTVERSION= 1.0
PORTEPOCH= 1
CATEGORIES= www perl5
MASTER_SITES= http://apachegallery.dk/download/ \
CPAN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION}${PORTSUBVER}
MAINTAINER= kvs@pil.dk
COMMENT= Apache::Gallery - mod_perl handler to create an image gallery
@ -37,21 +38,29 @@ BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
PERL_CONFIGURE= yes
APACHE_COMPAT= yes
PORTSUBVER= RC3
MAN3= Apache::Gallery.3
DOC_FILES= INSTALL LICENSE README TODO UPGRADE
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/www/icons/gallery/
@${MKDIR} ${PREFIX}/www/icons/gallery/
${INSTALL_DATA} ${WRKSRC}/htdocs/* \
${PREFIX}/www/icons/gallery
${MKDIR} ${DATADIR}/templates/default
${MKDIR} ${DATADIR}/templates/new
${PREFIX}/www/icons/gallery/
@${MKDIR} ${DATADIR}/templates/default
@${MKDIR} ${DATADIR}/templates/new
${INSTALL_DATA} ${WRKSRC}/templates/default/* \
${DATADIR}/templates/default
${DATADIR}/templates/default/
${INSTALL_DATA} ${WRKSRC}/templates/new/* \
${DATADIR}/templates/new
${DATADIR}/templates/new/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/
.endfor
.endif
.if !defined(BATCH)
@${SED} s!%%DATADIR%%!${DATADIR}!g ${PKGMESSAGE}
.endif

View File

@ -58,6 +58,11 @@ www/icons/gallery/video-mov.png
www/icons/gallery/video-mpeg.png
www/icons/gallery/video-mpg.png
www/icons/gallery/video-wmv.png
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Gallery
@dirrmtry %%SITE_PERL%%/Apache
@dirrm %%DATADIR%%/templates/default
@ -65,3 +70,4 @@ www/icons/gallery/video-wmv.png
@dirrm %%DATADIR%%/templates
@dirrm %%DATADIR%%
@dirrm www/icons/gallery
%%PORTDOCS%%@dirrm %%DOCSDIR%%