aboutsummaryrefslogtreecommitdiffstats
path: root/games/editss/Makefile
blob: 43e86407cd6e4eca573bc51a5d166f9fd0149385 (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
35
# New ports collection makefile for:    editss
# Date created:     14 November 2001
# Whom:         Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=   editss
PORTVERSION=    2.2
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jylefort

MAINTAINER= ports@FreeBSD.org
COMMENT=    An editor for XPilot shipshapes

USE_IMAKE=  yes
ALL_TARGET= editss
MAN6=       editss.6
NO_INSTALL_MANPAGES=    yes
SUB_FILES=  editss

post-patch:
    @${REINPLACE_CMD} -e 's|xxpms/ships2|.xpilot-shipshapes|' \
        ${WRKSRC}/editssrc

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/editss ${PREFIX}/bin/editss
    ${INSTALL_PROGRAM} ${WRKSRC}/editss ${PREFIX}/libexec
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/editssrc ${WRKSRC}/ships ${DATADIR}
    ${INSTALL_MAN} ${WRKSRC}/editss.6 ${MANPREFIX}/man/man6

.include <bsd.port.mk>