1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/sysutils/freesbie/Makefile
Thomas Zander 5e3a6a1c22 - Support PKGNG
- Support Staging
- Update maintainer e-mail address
- Introduce limitation of the port to supported ARCHs
- Add LICENSE
- USE_BZIP2 -> USES tar:bzip2
- Bump PORTREVISION

PR:		ports/187187
Submitted by:	TAKEMON Takashi <takemon@bamboogate.co.jp>
Approved by:	thierry (mentor)
2014-03-15 17:05:50 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Thomas E. Zander <riggs@rrr.de>
# $FreeBSD$
PORTNAME= freesbie
PORTVERSION= 2.0.20070710
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.rrr.de/~riggs/freesbie/
MASTER_SITES+= ${MASTER_SITE_LOCAL:S/%SUBDIR%/delphij/}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/2.0.//}
MAINTAINER= riggs@FreeBSD.org
COMMENT= Yet another cool answer to the system-on-cd question
LICENSE= BSD2CLAUSE
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
USES= tar:bzip2
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}2
ONLY_FOR_ARCHS= amd64 i386 powerpc
ONLY_FOR_ARCHS_REASON= FreeSBIE build system only supports amd64, i386 and powerpc
.include <bsd.port.pre.mk>
.if defined(WITH_PKGNG)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-pkgng
.endif
pre-configure:
@${SED} -e "s:%%ARCH%%:${ARCH}:g" ${FILESDIR}/conf-arch-FREESBIE.in > ${WRKSRC}/conf/${ARCH}/FREESBIE
do-install:
@ ${MKDIR} ${STAGEDIR}${DATADIR}
@ ${RM} -f ${WRKSRC}/scripts/iso.sh.orig \
${WRKSRC}/scripts/pkginstall.sh.orig \
${WRKSRC}/scripts/pkgselect.sh.orig
@ cd ${WRKSRC} && ${FIND} . -type f -print | tar -cf - -T - | \
tar -xf - -C ${STAGEDIR}${DATADIR}
.include <bsd.port.post.mk>