aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/krefty/Makefile
blob: 439268c4a311ad09a5cb24feacfd5e7e2d7a2a26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    krefty
# Date created:         Fri Jan 16 02:55:31 CET 2004
# Whom:             Markus Brueffer <brueffer@phoenix-systems.de>
#
# $FreeBSD$

PORTNAME=   krefty
PORTVERSION=    0.2
PORTREVISION=   2
CATEGORIES= deskutils kde
MASTER_SITES=   http://codeworks.gnomedia.com/krefty/

MAINTAINER= markus@FreeBSD.org
COMMENT=    Quick Reference sheets for KDE

USE_KDELIBS_VER=3
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  LDFLAGS="${PTHREAD_LIBS}"

post-extract:
    @${TOUCH} ${WRKSRC}/config.h.in

post-patch:
    @${REINPLACE_CMD} -e 's|-O2|-fPIC|g; s|-lpthread|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/${CONFIGURE_SCRIPT}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>