freebsd-ports/science/linsmith/Makefile
Marcus von Appen 95e7081976 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and
  USE_GETTEXT=yes to USES=gettext while here
2013-04-27 18:25:24 +00:00

35 lines
761 B
Makefile

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