2001-07-19 18:12:07 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2001/07/19 22:12:07 naddy Exp $
|
2001-04-14 07:36:13 -04:00
|
|
|
|
|
|
|
COMMENT= "faster and improved version of dd"
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2001-07-19 18:12:07 -04:00
|
|
|
DISTNAME= sdd-1.31
|
2000-07-23 07:24:16 -04:00
|
|
|
CATEGORIES= sysutils
|
2001-03-23 10:56:04 -05:00
|
|
|
NEED_VERSION= 1.336
|
2000-03-12 22:45:05 -05:00
|
|
|
|
2000-09-23 08:38:21 -04:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2001-04-14 07:36:13 -04:00
|
|
|
# GPL
|
2000-07-23 07:24:16 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2000-07-23 07:24:16 -04:00
|
|
|
MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/sdd/
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-03-12 22:45:05 -05:00
|
|
|
USE_GMAKE= Yes
|
2001-03-23 10:56:04 -05:00
|
|
|
MAKE_ENV= MAKEPROG="${MAKE_PROGRAM}" CCOM="${CC}"
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2001-07-19 18:12:07 -04:00
|
|
|
.if ${MACHINE} != "i386" || ${CC} != "cc"
|
1999-05-16 00:10:35 -04:00
|
|
|
do-configure:
|
2001-07-19 18:12:07 -04:00
|
|
|
@ln -sf ${WRKSRC}/RULES/i386-openbsd-cc.rul \
|
|
|
|
${WRKSRC}/RULES/${MACHINE}-openbsd-${CC}.rul
|
|
|
|
.endif
|
1999-05-16 00:10:35 -04:00
|
|
|
|
|
|
|
do-install:
|
2001-07-19 18:12:07 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/sdd/OBJ/${MACHINE}-openbsd-${CC}/sdd \
|
1999-05-16 00:10:35 -04:00
|
|
|
${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/sdd/sdd.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|