aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/snotes/Makefile
blob: 4f8a260f28d0c7a35895365b3b4c52f8363d479d (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
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    snotes
# Date Created:             2006-04-27
# Whom:                 Shaun Amott <shaun@inerd.com>
#
# $FreeBSD$
#

PORTNAME=   snotes
PORTVERSION=    1.1.5
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= s-notes

MAINTAINER= shaun@FreeBSD.org
COMMENT=    A lightweight, configurable sticky notes utility

BUILD_DEPENDS=  qmake:${PORTSDIR}/devel/qmake

USE_X_PREFIX=   yes
USE_QT_VER= 3
MAKE_ENV=   QTDIR="${QT_PREFIX}" \
        QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++

WRKSRC=     ${WRKDIR}/${PORTNAME}
PLIST_FILES=    bin/${PORTNAME}

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Does not compile with GCC 4.2
.endif

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake -project
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake -nocache

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.post.mk>