freebsd-ports/sysutils/freesbie/Makefile
Renato Botelho 6e397bd084 - Fix OSVERSION test to mark it as IGNORE
PR:		ports/87896
Submitted by:	Virgil Champlin <champlin@stupidog.org>
Approved by:	maintainer
2005-10-24 09:12:56 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: FreeSBIE
# Date created: 27 March 2003
# Whom: Thomas E. Zander <riggs@rrr.de>
#
# $FreeBSD$
#
PORTNAME= freesbie
PORTVERSION= 1.1.20051018
CATEGORIES= sysutils
MASTER_SITES= http://www.rrr.de/~riggs/freesbie/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/1.1.//}
MAINTAINER= riggs@rrr.de
COMMENT= Yet another cool answer to the system-on-cd question
RUN_DEPENDS= mkisofs:${PORTSDIR}/sysutils/cdrtools
USE_BZIP2= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
IGNORE= "Earlier FreeBSD versions then 5.4-RELEASE are not supported."
.endif
do-install:
@${MKDIR} ${DATADIR}
@ cd ${WRKSRC} && ${FIND} . -type f -print | \
${CPIO} --quiet -pdum -R ${BINOWN}:${BINGRP} ${DATADIR}
@ cd ${DATADIR} && ${FIND} . -type d -print | ${XARGS} ${CHMOD} 0755
@ cd ${PREFIX} && ${FIND} share/${PORTNAME} -type f -print | \
${SORT} -r > ${TMPPLIST}
@ cd ${PREFIX} && ${FIND} share/${PORTNAME} -type d -print | \
${SORT} -r | ${SED} -e 's#^#@dirrm #' >> ${TMPPLIST}
.include <bsd.port.post.mk>