61b6613393
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should start with lower-case letter and not end with a period which is added by the framework, similar to other knobs like BROKEN, IGNORE, et al. While here, remove needless quoting, add missing Oxford comma, expand contractions and jargonisms, use correct spelling for proper names.
37 lines
965 B
Makefile
37 lines
965 B
Makefile
# Created by: Thomas E. Zander <riggs@rrr.de>
|
|
|
|
PORTNAME= freesbie
|
|
PORTVERSION= 2.0.20070710
|
|
PORTREVISION= 3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= LOCAL/riggs/freesbie
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/2.0.//}
|
|
|
|
MAINTAINER= riggs@FreeBSD.org
|
|
COMMENT= Yet another cool answer to the system-on-cd question
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc
|
|
ONLY_FOR_ARCHS_REASON= build system only supports amd64, i386, and powerpc
|
|
|
|
RUN_DEPENDS= cdrecord:sysutils/cdrtools
|
|
|
|
USES= tar:bzip2
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}2
|
|
|
|
pre-configure:
|
|
@${SED} -e "s:%%ARCH%%:${ARCH}:g" ${FILESDIR}/conf-arch-FREESBIE.in > ${WRKSRC}/conf/${ARCH}/FREESBIE
|
|
|
|
do-install:
|
|
@ ${MKDIR} ${STAGEDIR}${DATADIR}
|
|
@ ${RM} ${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.mk>
|