mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
38 lines
936 B
Makefile
38 lines
936 B
Makefile
|
# 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>
|