1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/sysutils/sdd/Makefile

30 lines
641 B
Makefile

# $FreeBSD$
PORTNAME= sdd
PORTVERSION= 1.52
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/sdd/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Faster and improved version of dd
USE_GMAKE= yes
MAKE_ENV= MAKEPROG="${GMAKE}" CCOM="${CC}" COPTX="${CFLAGS}"
MAN1= sdd.1
PLIST_FILES= bin/sdd
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386" || ${CC} != "cc"
post-extract:
@${LN} -sf i386-freebsd-cc.rul \
${WRKSRC}/RULES/${ARCH}-freebsd-${CC}.rul
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdd/OBJ/${ARCH}-freebsd-${CC}/sdd \
${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sdd/sdd.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>