openbsd-ports/sysutils/sdd/Makefile

40 lines
874 B
Makefile
Raw Normal View History

2012-03-16 18:23:22 -04:00
# $OpenBSD: Makefile,v 1.23 2012/03/16 22:23:22 sthen Exp $
COMMENT= faster and improved version of dd
2004-09-16 20:23:34 -04:00
DISTNAME= sdd-1.52
2012-03-16 18:23:22 -04:00
REVISION= 0
CATEGORIES= sysutils
2000-09-23 08:38:21 -04:00
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
2012-03-16 18:23:22 -04:00
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2012-03-16 18:23:22 -04:00
WANTLIB= c
MASTER_SITES= ftp://ftp.berlios.de/pub/sdd/ \
http://spacehopper.org/mirrors/berlios/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}"
2001-07-19 18:12:07 -04:00
.if ${MACHINE} != "i386" || ${CC} != "cc"
do-configure:
cd ${WRKSRC}/RULES && \
ln -sf i386-openbsd-cc.rul ${MACHINE}-openbsd-${CC}.rul
2001-07-19 18:12:07 -04:00
.endif
2001-10-25 12:14:51 -04:00
NO_REGRESS= Yes
OBJ= OBJ/${MACHINE_ARCH}-openbsd-${CC}
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/sdd/${OBJ}/sdd ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sdd/sdd.1 ${PREFIX}/man/man1
.include <bsd.port.mk>