1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/sysutils/sdd/Makefile
Christian Weisgerber 87e9ead15d * We are FreeBSD, duh.
* Twiddle CFLAGS passing.
* Allow this to build with compilers other than "cc" or "gcc".
2002-07-21 01:05:14 +00:00

32 lines
739 B
Makefile

# New ports collection makefile for: sdd
# Date created: 1999-05-05
# Whom: Christian Weisgerber <naddy@mips.rhein-neckar.de>
#
# $FreeBSD$
PORTNAME= sdd
PORTVERSION= 1.31
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/sdd/
MAINTAINER= naddy@FreeBSD.org
USE_GMAKE= yes
MAKE_ENV= MAKEPROG="${GMAKE}" CCOM="${CC}" COPTX="${CFLAGS}"
MAN1= sdd.1
.include <bsd.port.pre.mk>
.if ${MACHINE_ARCH} != "i386" || ${CC} != "cc"
post-extract:
@${LN} -sf i386-freebsd-cc.rul \
${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-${CC}.rul
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdd/OBJ/${MACHINE_ARCH}-freebsd-${CC}/sdd \
${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sdd/sdd.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>