1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/misc/xpns/Makefile
Ade Lovett 07234fb9fc Support CC/CFLAGS/X11BASE/PREFIX properly
Change location of data files from lib/ to share/

PR:		21581
Submitted by:	Ports Fury
Approved by:	maintainer
2000-10-13 20:22:31 +00:00

37 lines
892 B
Makefile

# New ports collection makefile for: xpns
# Date created: 6 Apr 97
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= xpns
PORTVERSION= 1.0
CATEGORIES= misc cad
MASTER_SITES= http://www.ee.uwa.edu.au/~braunl/pns/ftp/
DISTFILES= pns_source.tar.Z
MAINTAINER= giffunip@asme.org
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
MAKEFILE= makefile
ALL_TARGET= pns
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns
${MKDIR} ${PREFIX}/libexec/xpns
${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/libexec/xpns
${MKDIR} ${PREFIX}/share/xpns
${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/share/xpns
${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/share/xpns
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/xpns
${INSTALL_DATA} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns
.endif
.include <bsd.port.mk>