mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
40 lines
899 B
Makefile
40 lines
899 B
Makefile
# 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= 3
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= SF/s-notes/s-notes/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A lightweight, configurable sticky notes utility
|
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
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>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|Config::parseConfig|parseConfig|' \
|
|
${WRKSRC}/config.h
|
|
|
|
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>
|