openbsd-ports/sysutils/sdd/Makefile
2013-03-11 11:35:43 +00:00

37 lines
793 B
Makefile

# $OpenBSD: Makefile,v 1.24 2013/03/11 11:41:32 espie Exp $
COMMENT= faster and improved version of dd
DISTNAME= sdd-1.52
REVISION= 0
CATEGORIES= sysutils
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= ftp://ftp.berlios.de/pub/sdd/ \
http://spacehopper.org/mirrors/berlios/sdd/
USE_GMAKE= Yes
MAKE_ENV= MAKEPROG="${MAKE_PROGRAM}" CCOM="${CC}" COPTX="${CFLAGS}"
.if ${MACHINE} != "i386" || ${CC} != "cc"
do-configure:
cd ${WRKSRC}/RULES && \
ln -sf i386-openbsd-cc.rul ${MACHINE}-openbsd-${CC}.rul
.endif
NO_TEST= 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>