Skip to content

Commit

Permalink
Stagify.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanillahsu committed Jul 8, 2014
1 parent 397f32e commit 91bc864
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 3 additions & 7 deletions deskutils/surrealtodo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ WWWGRP= ${WWWOWN}
PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message
SUB_FILES= pkg-message
PLIST_DIRSTRY= %%WWWDIR%%
PLIST_SUB= OWNER="${WWWOWN}" GROUP="${WWWGRP}"

OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD
OPTIONS_DEFAULT= APACHE
LIGHTTPD_DESC= Use Lighttpd webserver

NO_STAGE= yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPOSTGRE}
Expand All @@ -39,11 +39,7 @@ RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif

do-install:
@${MKDIR} ${WWWDIR}
@${CP} -r ${WRKDIR}/${PORTNAME}_v${PORTVERSION}/* ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}

post-install:
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${WWWDIR}
@${CP} -r ${WRKDIR}/${PORTNAME}_v${PORTVERSION}/* ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>
4 changes: 4 additions & 0 deletions deskutils/surrealtodo/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@owner %%OWNER%%
@group %%GROUP%%
%%WWWDIR%%/README.txt
%%WWWDIR%%/ajax.php
%%WWWDIR%%/compile_translation.sh
Expand Down Expand Up @@ -318,6 +320,8 @@
%%WWWDIR%%/theme/dusk_to_dawn/styles.css
%%WWWDIR%%/theme/theme_instructions.txt
%%WWWDIR%%/todo.class.php
@owner
@group
@dirrm %%WWWDIR%%/theme/dusk_to_dawn/jquery/images
@dirrm %%WWWDIR%%/theme/dusk_to_dawn/jquery
@dirrm %%WWWDIR%%/theme/dusk_to_dawn/images/trash
Expand Down

0 comments on commit 91bc864

Please sign in to comment.