mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= palmos-sdk
|
|
PORTVERSION= ${SDKVER}r3
|
|
CATEGORIES= palm
|
|
MASTER_SITES=
|
|
DISTFILES= palmos-sdk-${SDKVER}r3-1.tar.gz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Palm OS SDK
|
|
|
|
RESTRICTED= License agreement is required.
|
|
WRKSRC= ${WRKDIR}/sdk-5r3
|
|
NO_BUILD= YES
|
|
PLIST_SUB= BASEDIR=palmdev/sdk-${SDKVER}
|
|
|
|
SDKVER= 5.1.0
|
|
INCDIR= ${PREFIX}/palmdev/sdk-${SDKVER}/include
|
|
LIBDIR= ${PREFIX}/palmdev/sdk-${SDKVER}/lib
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
IGNORE='The distribution file for this port may not be automatically fetched due to licensing restrictions.'
|
|
.endif
|
|
|
|
do-fetch:
|
|
.if !exists(${DISTDIR}/palmos-sdk-${SDKVER}r3-1.tar.gz)
|
|
@${ECHO} ""
|
|
@${ECHO} "You must manually fetch the palmos-sdk tarfile from:"
|
|
@${ECHO} ""
|
|
@${ECHO} "http://www.accessdevnet.com/index.php/Garnet-OS-SDK-68K-R3-PRC-tools-Generic-UNIX/View-category.html"
|
|
@${ECHO} ""
|
|
@${ECHO} "You will be required to register on the site."
|
|
@${ECHO} ""
|
|
@${ECHO} "After fetching the file, move it to
|
|
@${ECHO} "${DISTDIR}/palmos-sdk-${SDKVER}r3-1.tar.gz"
|
|
@${ECHO} "and run make again."
|
|
@${FALSE}
|
|
.endif
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${INCDIR} ${STAGEDIR}${LIBDIR}
|
|
${CP} -Rp ${WRKSRC}/include/* ${STAGEDIR}${INCDIR}
|
|
${CP} -Rp ${WRKSRC}/lib/* ${STAGEDIR}${LIBDIR}
|
|
${CP} -p "${WRKSRC}/Palm License.txt" "${WRKSRC}/PalmOS 5 SDK 68K R3 Readme.txt" ${STAGEDIR}${PREFIX}/palmdev/sdk-${SDKVER}/
|
|
${CHOWN} -R root:wheel ${STAGEDIR}${INCDIR} ${STAGEDIR}${LIBDIR}
|
|
|
|
.include <bsd.port.post.mk>
|