2002-05-31 10:09:26 +00:00
|
|
|
# New ports collection makefile for: wsmake
|
|
|
|
# Date created: 31 May, 2002
|
|
|
|
# Whom: Joseph Koshy <jkoshy@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wsmake
|
|
|
|
PORTVERSION= 0.6.4
|
|
|
|
CATEGORIES= www
|
2002-06-10 07:39:43 +00:00
|
|
|
MASTER_SITES= ${WSMAKE_MASTER_SITE}/dwnlds/stable/ \
|
|
|
|
${WSMAKE_MASTER_SITE}/docs/
|
2002-05-31 10:09:26 +00:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} examples.tar.gz
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
DISTFILES+= user-manual-html.tar.gz
|
|
|
|
.endif
|
|
|
|
DIST_SUBDIR= wsmake
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
MAINTAINER= jkoshy@freebsd.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Software for production and maintenance of web sites
|
2002-05-31 10:09:26 +00:00
|
|
|
|
|
|
|
USE_BZIP2= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
2002-06-10 07:39:43 +00:00
|
|
|
WSMAKE_MASTER_SITE= http://www.wsmake.org
|
2002-05-31 10:09:26 +00:00
|
|
|
WSMAKE_DOCDIR= ${PREFIX}/share/doc/wsmake
|
|
|
|
WSMAKE_EXDIR= ${PREFIX}/share/examples/wsmake
|
|
|
|
|
2003-06-04 22:43:38 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500113
|
|
|
|
BROKEN= "Does not compile (bad C++ code)"
|
|
|
|
.endif
|
|
|
|
|
2002-05-31 10:09:26 +00:00
|
|
|
# Install examples and optional documentation.
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${WSMAKE_EXDIR}
|
|
|
|
cd ${WSMAKE_EXDIR} && \
|
|
|
|
${TAR} -xzf ${_DISTDIR}/examples.tar.gz --exclude '*/CVS/*'
|
|
|
|
.for ex in 1 2 3 4 5 6 7 8 9 10 11 12 13
|
|
|
|
${MV} ${WSMAKE_EXDIR}/examples/ex${ex} ${WSMAKE_EXDIR}
|
|
|
|
.endfor
|
|
|
|
${RM} -rf ${WSMAKE_EXDIR}/examples
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
${MKDIR} ${WSMAKE_DOCDIR}
|
|
|
|
cd ${WSMAKE_DOCDIR} && \
|
|
|
|
${TAR} -xzf ${_DISTDIR}/user-manual-html.tar.gz
|
|
|
|
${LN} ${WSMAKE_DOCDIR}/user-manual/book1.html ${WSMAKE_DOCDIR}/user-manual/index.html
|
|
|
|
.endif
|
|
|
|
|
2003-05-18 12:25:40 +00:00
|
|
|
.include <bsd.port.post.mk>
|