opnsense-ports/sysutils/xosview/Makefile
Franco Fichtner a4c7c24c83 */*: sync with upstream
Taken from: FreeBSD
2015-11-13 08:48:20 +01:00

35 lines
816 B
Makefile

# Created by: Brian Handy <handy@physics.montana.edu>
# $FreeBSD$
PORTNAME= xosview
PORTVERSION= 1.17
CATEGORIES= sysutils
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical performance meter
LICENSE= BSD4CLAUSE GPLv2
LICENSE_COMB= multi
ONLY_FOR_ARCHS= amd64 i386 ia64
ONLY_FOR_ARCHS_REASON= used i386-specific hardware resources
USE_GITHUB= yes
GH_ACCOUNT= hills
USE_XORG= xpm
USES= gmake
MAKE_ENV= OPTFLAGS="" PLATFORM=bsd MANDIR=${MANPREFIX}/man
ALL_TARGET= xosview
DESKTOP_ENTRIES="XOsview" "" "" "xosview" "" ""
do-configure:
@${SED} -e '/CXX/s|^|#|' -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/targets/freebsd > ${WRKSRC}/.config
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${CP} ${WRKSRC}/Xdefaults ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XOsview
.include <bsd.port.mk>