Lines 6-19
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= typespeed |
8 |
PORTNAME= typespeed |
9 |
PORTVERSION= 0.6.4 |
9 |
PORTVERSION= 0.6.5 |
10 |
CATEGORIES= games |
10 |
CATEGORIES= games |
11 |
MASTER_SITES= http://tobias.eyedacor.org/typespeed/ \ |
11 |
MASTER_SITES= SF \ |
12 |
CRITICAL |
12 |
http://tobias.eyedacor.org/typespeed/ |
13 |
|
13 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Test your typing speed, and get your fingers\' CPS |
15 |
COMMENT= Test your typing speed, and get your fingers\' CPS |
16 |
|
16 |
|
|
|
17 |
USE_GNOME= gnometarget |
17 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
18 |
CONFIGURE_ARGS= --with-highscoredir="/var/games/typespeed" |
19 |
CONFIGURE_ARGS= --with-highscoredir="/var/games/typespeed" |
19 |
|
20 |
|
Lines 28-33
Link Here
|
28 |
SUB_LIST= SCOREDIR="${SCOREDIR}" SCOREFILE="${SCOREFILE}" WRKSRC="${WRKSRC}" |
29 |
SUB_LIST= SCOREDIR="${SCOREDIR}" SCOREFILE="${SCOREFILE}" WRKSRC="${WRKSRC}" |
29 |
MAN1= typespeed.1 |
30 |
MAN1= typespeed.1 |
30 |
|
31 |
|
|
|
32 |
.if defined(WITHOUT_NLS) |
33 |
CONFIGURE_ARGS+= --disable-nls |
34 |
PLIST_SUB+= NLS="@comment " |
35 |
.else |
36 |
USE_GETTEXT= yes |
37 |
PLIST_SUB+= NLS="" |
38 |
.endif |
39 |
|
31 |
post-patch: |
40 |
post-patch: |
32 |
@${REINPLACE_CMD} -e 's|\(/etc\)|${PREFIX}\1|' \ |
41 |
@${REINPLACE_CMD} -e 's|\(/etc\)|${PREFIX}\1|' \ |
33 |
${WRKSRC}/src/pathnames.h |
42 |
${WRKSRC}/src/pathnames.h |
Lines 44-49
Link Here
|
44 |
${MKDIR} ${DATADIR}/words |
53 |
${MKDIR} ${DATADIR}/words |
45 |
${FIND} ${WRKSRC}/words/ -name "words.*" -type f \ |
54 |
${FIND} ${WRKSRC}/words/ -name "words.*" -type f \ |
46 |
-exec ${INSTALL_DATA} {} ${DATADIR}/words \; |
55 |
-exec ${INSTALL_DATA} {} ${DATADIR}/words \; |
|
|
56 |
.if !defined(WITHOUT_NLS) |
57 |
.for i in de_DE fr_FR it |
58 |
${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES |
59 |
${INSTALL_DATA} ${WRKSRC}/po/${i}.gmo \ |
60 |
${PREFIX}/share/locale/${i}/LC_MESSAGES/typespeed.mo |
61 |
.endfor |
62 |
.endif |
47 |
|
63 |
|
48 |
post-install: |
64 |
post-install: |
49 |
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
65 |
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |