mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
d2359ca779
PR: 55496 Submitted by: Ports Fury
39 lines
954 B
Makefile
39 lines
954 B
Makefile
# New ports collection makefile for: khacc
|
|
# Date created: 22 Jan 2003
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= khacc
|
|
PORTVERSION= 1.7
|
|
CATEGORIES= finance
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= qhacc
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple KDE-base financial manager
|
|
|
|
LIB_DEPENDS= qhacc.2:${PORTSDIR}/finance/qhacc
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
|
|
|
|
USE_KDELIBS_VER= 3
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --with-qhacc-includes=${X11BASE}/include \
|
|
--with-qhacc-libs=${X11BASE}/lib \
|
|
--with-qt-moc=${QT_PREFIX}/bin \
|
|
--with-qt-libs=${QT_PREFIX}/lib
|
|
|
|
STRIP= # none
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|#! /bin/sh|#!${LOCALBASE}/bin/bash|g ; \
|
|
s|/usr/local/|${X11BASE}/lib/|g' ${WRKSRC}/src/khacc.orig
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${PREFIX}/bin/khacc-*
|
|
|
|
.include <bsd.port.mk>
|