openbsd-ports/sysutils/sdd/Makefile
2001-03-23 15:56:04 +00:00

33 lines
830 B
Makefile

# $OpenBSD: Makefile,v 1.8 2001/03/23 15:56:04 brad Exp $
DISTNAME= sdd-1.22
CATEGORIES= sysutils
NEED_VERSION= 1.336
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/sdd/
USE_GMAKE= Yes
MAKE_ENV= MAKEPROG="${MAKE_PROGRAM}" CCOM="${CC}"
do-configure:
@cd ${WRKSRC}/RULES; \
sed -e s/freebsd/openbsd/ os-freebsd.id >os-openbsd.id; \
cp os-freebsd.def os-openbsd.def; \
cp i386-freebsd-cc.rul ${MACHINE}-openbsd-${CC}.rul
@cd ${WRKSRC}/DEFAULTS; \
cp Defaults.freebsd Defaults.openbsd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdd/OBJ/${MACHINE}-openbsd-${CC}/sdd \
${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sdd/sdd.1 ${PREFIX}/man/man1
.include <bsd.port.mk>