openbsd-ports/sysutils/sdd/Makefile

34 lines
787 B
Makefile
Raw Normal View History

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