1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/x11-fm/jaffm/Makefile
Pav Lucistnik d750615763 - Use features of bsd.wx.mk, especially USE_WX
PR:		ports/101613
Submitted by:	alepulver
2006-12-01 07:39:02 +00:00

36 lines
796 B
Makefile

# New ports collection makefile for: jaffm
# Date Created: 2006-04-27
# Whom: Shaun Amott <shaun@inerd.com>
#
# $FreeBSD$
#
PORTNAME= jaffm
PORTVERSION= 1.4
CATEGORIES= x11-fm
MASTER_SITES= http://binary.is/download/ \
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
MAINTAINER= shaun@FreeBSD.org
COMMENT= A lightweight file manager inspired by MacOS Finder
USE_BZIP2= yes
USE_WX= 2.4-2.6
USE_X_PREFIX= yes
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's#^PREFIX=.*#PREFIX=${PREFIX}#' \
-e 's#$$(shell wx-config \(.*\))#`${WX_CONFIG} \1`#' \
-e 's#^FLAGS=-ggdb#FLAGS=${CFLAGS}#' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>