2011-11-10 09:13:06 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2011/11/10 14:13:06 sthen 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
|
2011-11-01 12:44:19 -04:00
|
|
|
|
|
|
|
WANTLIB= c
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2011-11-10 09:13:06 -05:00
|
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/sdd/ \
|
|
|
|
http://spacehopper.org/mirrors/berlios/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
|
|
|
|
2001-07-19 18:12:07 -04:00
|
|
|
.if ${MACHINE} != "i386" || ${CC} != "cc"
|
1999-05-16 00:10:35 -04:00
|
|
|
do-configure:
|
2011-11-01 12:44:19 -04:00
|
|
|
cd ${WRKSRC}/RULES && \
|
|
|
|
ln -sf i386-openbsd-cc.rul ${MACHINE}-openbsd-${CC}.rul
|
2001-07-19 18:12:07 -04:00
|
|
|
.endif
|
1999-05-16 00:10:35 -04:00
|
|
|
|
2011-11-01 12:44:19 -04:00
|
|
|
USE_GROFF= Yes
|
2001-10-25 12:14:51 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2011-11-01 12:44:19 -04:00
|
|
|
OBJ= OBJ/${MACHINE_ARCH}-openbsd-${CC}
|
|
|
|
|
1999-05-16 00:10:35 -04:00
|
|
|
do-install:
|
2011-11-01 12:44:19 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/sdd/${OBJ}/sdd ${PREFIX}/bin
|
1999-05-16 00:10:35 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/sdd/sdd.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|