1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/science/linsmith/Makefile
2014-06-29 11:55:30 +00:00

35 lines
778 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= linsmith
PORTVERSION= 0.99.26
PORTREVISION= 1
CATEGORIES= science hamradio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Smith charting program
LICENSE= GPLv2 # (or later)
USES= gettext pkgconfig
USE_GNOME= libgnomeui libxml2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e \
'/^Icon/s|/usr/share|${PREFIX}/share|' \
${WRKSRC}/linsmith.desktop
post-install:
@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
(cd ${WRKSRC} \
&& ${INSTALL_DATA} linsmith.desktop ${STAGEDIR}${DESKTOPDIR})
(cd ${WRKSRC} \
&& ${INSTALL_DATA} linsmith_icon.xpm ${STAGEDIR}${PREFIX}/share/pixmaps)
.include <bsd.port.mk>