338dd0786b
- Take maintainership PR: 107747 Submitted by: miwi Approved by: old maintainer (Heiner <h.eichmann@gmx.de>)
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# New ports collection makefile for: dvdisaster
|
|
# Date created: 2006/08/13
|
|
# Whom: Heiner <h.eichmann@gmx.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dvdisaster
|
|
PORTVERSION= 0.70.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= dvdisaster
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= A CD/DVD error recovery tool
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
WRKSRC= ${WRKDIR}/dvdisaster-0.70.3
|
|
MAKEFILE= GNUmakefile
|
|
|
|
USE_BZIP2= yes
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= gtk20
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
USE_GMAKE= yes
|
|
USE_GETOPT_LONG= yes
|
|
|
|
MAN1= dvdisaster.1
|
|
MANLANG= "" cs de it
|
|
|
|
do-configure:
|
|
@(cd ${CONFIGURE_WRKSRC} && \
|
|
if ! ${SETENV} CC="${CC}" CXX="${CXX}" \
|
|
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
|
INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
|
${CONFIGURE_ENV} bash configure ${CONFIGURE_ARGS}; then \
|
|
${ECHO_CMD} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \
|
|
(${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
|
|
${FALSE}; \
|
|
fi)
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= Does not compile on 4.x
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|