1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/agenda-snow-libs/Makefile
Maxim Sobolev 85ce388c35 Add agenda-snow-libs 1.2.0, sNOW libraries which are needed to
develop for Agenda VR3 PDA.

PR:		31403
Submitted by:	Lev Serebryakov <lev@serebryakov.spb.ru>
2001-11-05 17:39:02 +00:00

40 lines
1.0 KiB
Makefile

# New ports collection makefile for: agenda-snow-libs
# Date created: 20 October 2001
# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
#
# $FreeBSD$
#
PORTNAME= agenda-snow-libs
PORTVERSION= 1.2.0
CATEGORIES= devel
MASTER_SITES= http://lev.serebryakov.spb.ru/download/agenda/
MAINTAINER= lev@serebryakov.spb.ru
RUN_DEPENDS= ${LOCALBASE}/${TARGET_PLATFORM}/include/stdio.h:${PORTSDIR}/devel/agenda-headers
USE_BZIP2= yes
TARGET_PLATFORM=mipsel-linux
SUBSTS= LOCALBASE=${LOCALBASE} TARGET_PLATFORM=${TARGET_PLATFORM}
TRANSFORM_FILES= mipsel-linux/etc/config.site \
mipsel-linux/etc/vrpbuild.conf \
bin/mksnow \
bin/snow-make-ldscript \
bin/snow-makesyms \
bin/snow-mklibrary \
bin/snow-specs-verify
do-build:
.for F in ${TRANSFORM_FILES}
@${CP} ${WRKSRC}/${F} ${WRKSRC}/${F}.new
@${SED} ${SUBSTS:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} < ${WRKSRC}/${F}.new > ${WRKSRC}/${F}
@${RM} ${WRKSRC}/${F}.new
.endfor
do-install:
(cd ${WRKSRC} && tar -cf - *) | (cd ${PREFIX} && tar xf -)
.include <bsd.port.mk>