openbsd-ports/sysutils/sdd/Makefile

40 lines
896 B
Makefile
Raw Normal View History

2010-10-19 03:43:00 -04:00
# $OpenBSD: Makefile,v 1.20 2010/10/19 07:43:02 espie Exp $
COMMENT= faster and improved version of dd
2004-09-16 20:23:34 -04:00
DISTNAME= sdd-1.52
CATEGORIES= sysutils
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
2004-12-20 05:35:34 -05:00
WANTLIB= c
2003-02-12 10:40:39 -05:00
MASTER_SITES= ftp://ftp.berlios.de/pub/sdd/
2000-02-12 03:02:07 -05:00
USE_GMAKE= Yes
2002-07-20 21:00:18 -04:00
MAKE_ENV= MAKEPROG="${MAKE_PROGRAM}" CCOM="${CC}" COPTX="${CFLAGS}"
pre-configure:
2004-12-09 02:16:12 -05:00
@perl -pi.bak -e 's/\x07//g' ${WRKDIST}/RULES/gmake.wrn
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
2010-10-19 03:43:00 -04:00
USE_GROFF = Yes
2001-10-25 12:14:51 -04:00
NO_REGRESS= Yes
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>