In the vast majority of cases, nothing has changed (i.e. .tgz, .tar.gz, and .tar.bz2). EXTRACT_USING_PAX can be set as before. For custom extractions, instead of using EXTRACT_BEFORE_ARGS, EXTRACT_AFTER_ARGS and EXTRACT_CMD, simply set EXTRACT_CMD to be the command needed to decompress and extract the lements from the archive. ${DOWNLOADED_DISTFILE} can be used to reference the distfile(s). e.g. for compressed shars, where previously there was: EXTRACT_CMD= ${GZCAT} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= |sh now use: EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
29 lines
854 B
Makefile
29 lines
854 B
Makefile
# $NetBSD: Makefile,v 1.4 1999/04/01 14:07:53 agc Exp $
|
|
|
|
DISTNAME= rdp1_5
|
|
PKGNAME= rdp-1.5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.dcs.rhbnc.ac.uk/pub/rdp/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.dcs.rhbnc.ac.uk/research/languages/rdp.shtml
|
|
|
|
BUILD_DEPENDS= unzip:../../archivers/unzip
|
|
|
|
EXTRACT_CMD= unzip -Laqo ${DOWNLOADED_DISTFILE}
|
|
|
|
WRKSRC= ${WRKDIR}/rdp
|
|
MAKEFILE= makefile
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rdp ${PREFIX}/bin
|
|
-${MKDIR} ${PREFIX}/share/doc/rdp
|
|
${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_case.ps ${PREFIX}/share/doc/rdp
|
|
${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_supp.ps ${PREFIX}/share/doc/rdp
|
|
${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_tut.ps ${PREFIX}/share/doc/rdp
|
|
${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_user.ps ${PREFIX}/share/doc/rdp
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|