2012-12-05 00:29:56 +01:00
|
|
|
# Created by: ijliao
|
2006-12-22 04:38:47 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= linsmith
|
2015-11-27 22:43:28 +01:00
|
|
|
PORTVERSION= 0.99.30
|
2008-11-05 18:19:33 +01:00
|
|
|
CATEGORIES= science hamradio
|
2013-07-22 17:23:15 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2006-12-22 04:38:47 +01:00
|
|
|
|
2014-06-29 13:55:30 +02:00
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
2006-12-22 04:38:47 +01:00
|
|
|
COMMENT= Smith charting program
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2006-12-22 04:38:47 +01:00
|
|
|
|
2013-09-03 14:13:23 +02:00
|
|
|
USES= gettext pkgconfig
|
2011-08-04 12:43:04 +02:00
|
|
|
USE_GNOME= libgnomeui libxml2
|
2006-12-22 04:38:47 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-04 12:43:04 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2014-10-14 06:55:08 +02:00
|
|
|
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR}
|
2006-12-22 04:38:47 +01:00
|
|
|
|
|
|
|
post-patch:
|
2013-02-07 15:36:55 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
2014-10-14 06:55:08 +02:00
|
|
|
'/^Categories/s|Application;|| ; \
|
|
|
|
/^Icon/s|/usr/share|${PREFIX}/share|' \
|
2013-06-17 17:31:12 +02:00
|
|
|
${WRKSRC}/linsmith.desktop
|
2013-02-07 15:36:55 +01:00
|
|
|
|
|
|
|
post-install:
|
2014-10-14 06:55:08 +02:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} linsmith.desktop \
|
|
|
|
${STAGEDIR}${DESKTOPDIR})
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} linsmith_icon.xpm \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/linsmith)
|
2006-12-22 04:38:47 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|