aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cssc/Makefile
blob: f65172f200d94b3dae6b2e51c514978411319a9f (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
36
37
# New ports collection makefile for:    CSSC
# Version required:     0.10beta.pl1
# Date created:         31 Mar 1999
# Whom:                 Oliver Fromme
#
# $Id$
#

DISTNAME=   CSSC-0.10beta.pl1
PKGNAME=    cssc-0.10b.1
CATEGORIES= devel
MASTER_SITES=   ftp://alpha.gnu.org/gnu/CSSC/

MAINTAINER= olli@fromme.com

GNU_CONFIGURE=  yes
MAN1=       sccs.1

#
#   NOTE:
#   portlint will warn about the absolute pathname "/usr/share/info/dir",
#   although it is OK in this case (see the FreeBSD Handbook, section
#   "Making a port yourself", subsection "Info files").
#
post-install:
    @strip ${PREFIX}/bin/sccs
    @for FILE in ${PREFIX}/libexec/cssc/*; do \
        if file $$FILE | ${GREP} -q 'not stripped'; then \
        strip $$FILE; \
        fi; \
    done
    @if [ ! -f ${PREFIX}/info/dir ]; then \
        ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
    fi
    @install-info ${PREFIX}/info/cssc.info ${PREFIX}/info/dir

.include <bsd.port.mk>