Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= viewnior |
8 |
PORTNAME= viewnior |
9 |
PORTVERSION= 1.3 |
9 |
PORTVERSION= 1.3 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
11 |
MASTER_SITES= http://cloud.github.com/downloads/xsisqox/Viewnior/ |
12 |
MASTER_SITES= http://cloud.github.com/downloads/xsisqox/Viewnior/ |
12 |
|
13 |
|
Lines 21-49
Link Here
|
21 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
22 |
USE_AUTOTOOLS= autoconf |
23 |
USE_AUTOTOOLS= autoconf |
23 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
24 |
USE_GNOME= glib20 gtk20 intltool pkgconfig |
25 |
USE_GNOME= glib20 gtk20 |
25 |
INSTALLS_ICONS= yes |
26 |
INSTALLS_ICONS= yes |
26 |
|
27 |
|
27 |
MAN1= viewnior.1 |
28 |
MAN1= viewnior.1 |
28 |
|
29 |
|
29 |
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO |
30 |
PORTDOCS= AUTHORS ChangeLog NEWS README TODO |
30 |
|
31 |
|
31 |
OPTIONS= NLS "Enable gettext support" on |
32 |
OPTIONS_DEFINE= NLS |
|
|
33 |
NLS_DESC= Native Language Support via gettext |
34 |
OPTIONS_DEFAULT= NLS |
32 |
|
35 |
|
33 |
.include <bsd.port.options.mk> |
36 |
.include <bsd.port.options.mk> |
34 |
|
37 |
|
35 |
.if defined(WITHOUT_NLS) |
38 |
.if ${PORT_OPTIONS:MNLS} |
36 |
CONFIGURE_ARGS+= --disable-nls |
|
|
37 |
PLIST_SUB+= NLS="@comment " |
38 |
.else |
39 |
USE_GETTEXT= yes |
39 |
USE_GETTEXT= yes |
40 |
PLIST_SUB+= NLS="" |
40 |
PLIST_SUB+= NLS="" |
|
|
41 |
.else |
42 |
CONFIGURE_ARGS+= --disable-nls |
43 |
PLIST_SUB+= NLS="@comment " |
41 |
.endif |
44 |
.endif |
42 |
|
45 |
|
43 |
post-install: |
46 |
post-install: |
44 |
${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1 |
47 |
${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1 |
45 |
# Documentations |
48 |
|
46 |
.if !defined(NOPORTDOCS) |
49 |
# Documentation |
|
|
50 |
.if ${PORT_OPTIONS:MDOCS} |
47 |
${MKDIR} ${DOCSDIR} |
51 |
${MKDIR} ${DOCSDIR} |
48 |
. for f in ${PORTDOCS} |
52 |
. for f in ${PORTDOCS} |
49 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |
53 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |