2010-10-19 03:43:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2010/10/19 07:43:02 espie Exp $
|
2001-04-14 07:36:13 -04:00
|
|
|
|
2007-09-15 17:14:00 -04:00
|
|
|
COMMENT= faster and improved version of dd
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2004-09-16 20:23:34 -04:00
|
|
|
DISTNAME= sdd-1.52
|
2000-07-23 07:24:16 -04:00
|
|
|
CATEGORIES= sysutils
|
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
|
2004-12-20 05:35:34 -05:00
|
|
|
WANTLIB= c
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2003-02-12 10:40:39 -05:00
|
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/sdd/
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-03-12 22:45:05 -05:00
|
|
|
USE_GMAKE= Yes
|
2002-07-20 21:00:18 -04:00
|
|
|
MAKE_ENV= MAKEPROG="${MAKE_PROGRAM}" CCOM="${CC}" COPTX="${CFLAGS}"
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
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"
|
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
|
|
|
|
2010-10-19 03:43:00 -04:00
|
|
|
USE_GROFF = Yes
|
2001-10-25 12:14:51 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
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>
|