View | Details | Raw Unified | Return to bug 170742 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-10 / +10 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	simsu
8
PORTNAME=	simsu
9
PORTVERSION=	1.2.2
9
PORTVERSION=	1.2.2
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	http://gottcode.org/${PORTNAME}/
12
MASTER_SITES=	http://gottcode.org/${PORTNAME}/
12
EXTRACT_SUFX=	-src.tar.bz2
13
EXTRACT_SUFX=	-src.tar.bz2
Lines 32-43 Link Here
32
MAKE_JOBS_SAFE=	yes
33
MAKE_JOBS_SAFE=	yes
33
34
34
PORTDATA=	*
35
PORTDATA=	*
35
PORTDOCS=	CREDITS ChangeLog INSTALL
36
PORTDOCS=	CREDITS ChangeLog
37
38
.include <bsd.port.options.mk>
36
39
37
do-install:
40
do-install:
38
# Executable
41
# Executable
39
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
42
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
40
43
44
# Data
45
	${MKDIR} ${DATADIR}
46
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "symmetry translations" ${DATADIR})
47
41
# Icons
48
# Icons
42
	${CP} -R ${WRKSRC}/icons/hicolor ${PREFIX}/share/icons/
49
	${CP} -R ${WRKSRC}/icons/hicolor ${PREFIX}/share/icons/
43
50
Lines 46-60 Link Here
46
	${MKDIR} ${PREFIX}/share/applications
53
	${MKDIR} ${PREFIX}/share/applications
47
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
54
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
48
55
49
post-install:
56
# Documentation
50
# Data
57
.if ${PORT_OPTIONS:MDOCS}
51
.if !defined (NOPORTDATA)
52
	${MKDIR} ${DATADIR}
53
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "symmetry translations" ${DATADIR})
54
.endif
55
56
# Documentations
57
.if !defined(NOPORTDOCS)
58
	${MKDIR} ${DOCSDIR}
58
	${MKDIR} ${DOCSDIR}
59
.  for f in ${PORTDOCS}
59
.  for f in ${PORTDOCS}
60
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
60
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}

Return to bug 170742