blob: bcfbfd15754b0e3aa8b18c4a7cc76ee4e9cb32f4 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# New ports collection makefile for: faces-1.6.1
# Date created: 09 December 96
# Whom: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
# Andreas Klemm <andreas@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= faces
PORTVERSION= 1.6.1
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/faces/faces/faces-1.6.1/
EXTRACT_SUFX= .tar.Z
MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
# Define USE_NAS for NAS audio support
.if defined(USE_NAS)
RUN_DEPENDS= auplay:${PORTSDIR}/audio/nas
SED_REPL=auplay
.else
RUN_DEPENDS= rplay:${PORTSDIR}/audio/rplay
SED_REPL=rplay
.endif
USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/faces
MAN1= compface.1 faces.1 face_update.1
MAN3= compface.3
MLINKS= compface.1 uncompface.1 \
compface.3 uncompface.3
pre-patch:
@${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
post-patch:
for na in $$(find ${WRKSRC}/scripts -type f) \
${WRKSRC}/faces.man ${WRKSRC}/face_update.1 ; do \
${CP} $$na $$na.orig; \
${SED} "s%/usr/local%${PREFIX}%" $$na.orig > $$na; \
done; \
for na in ${WRKSRC}/Makefile ${WRKSRC}/Faces.ad; do \
${CP} $$na $$na.orig; \
${SED} "s%rplay%${SED_REPL}%" $$na.orig > $$na; \
done; \
for na in ${WRKSRC}/Makefile ${WRKSRC}/x11.c; do \
${CP} $$na $$na.orig2; \
${SED} "s%/usr/X11R6%${X11BASE}%" $$na.orig2 > $$na; \
done
.if !defined(NOPORTDOCS)
post-install:
if [ ! -e ${PREFIX}/share/doc/${PORTNAME} ]; then \
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}; \
${CP} -f ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}; \
${CP} -f ${WRKSRC}/scripts/README.kinzler ${PREFIX}/share/doc/${PORTNAME}; \
${CP} -f ${WRKSRC}/scripts/from.allrc-eg ${PREFIX}/share/doc/${PORTNAME}; \
${MKDIR} ${DATADIR}/lib; \
${ECHO_CMD} ";# See ${PREFIX}/share/doc/${PORTNAME}/from.allrc-eg for an example" \
> ${DATADIR}/lib/allrc; \
fi
.endif
.include <bsd.port.mk>
|