blob: 4258540e1214967c08b214812bd674dbc970d2b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= linsmith
PORTVERSION= 0.99.30
CATEGORIES= science hamradio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Smith charting program
LICENSE= GPLv2+
USES= gettext pkgconfig
USE_GNOME= libgnomeui libxml2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR}
post-patch:
@${REINPLACE_CMD} -e \
'/^Categories/s|Application;|| ; \
/^Icon/s|/usr/share|${PREFIX}/share|' \
${WRKSRC}/linsmith.desktop
post-install:
(cd ${WRKSRC} && ${INSTALL_DATA} linsmith.desktop \
${STAGEDIR}${DESKTOPDIR})
(cd ${WRKSRC} && ${INSTALL_DATA} linsmith_icon.xpm \
${STAGEDIR}${PREFIX}/share/pixmaps/linsmith)
.include <bsd.port.mk>
|